ExceptionHandlingScope Members
Include Protected Members
Include Inherited Members
Ignores an exception that is raised by the server, or executes code in response to an exception that is thrown by the server.
The ExceptionHandlingScope type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ExceptionHandlingScope | Initializes a new instance of the ExceptionHandlingScope class with the specified client runtime context. |
Top
Properties
Name | Description | |
---|---|---|
ErrorMessage | Gets the error message of the exception when the code is executed in the try scope. | |
HasException | Gets the flag that indicates whether an exception has occurred in the try scope. | |
Processed | Gets the flag that indicates whether the scope has been processed by the server. | |
ServerErrorCode | Gets the error code that corresponds to the exception that occurred in the try scope. | |
ServerErrorValue | Gets the error value that corresponds to the exception that occurs in the try scope. | |
ServerStackTrace | Gets the server call stack information of the exception in the try scope. |
Top
Methods
Name | Description | |
---|---|---|
StartCatch | Initiates the start of a custom code block that is to be executed on the client when the server throws an exception. | |
StartFinally | Initiates the start of a custom code block that is to be executed on the client after all StartCatch() code blocks have been executed. | |
StartScope | Initiates a code block that contains calls to the StartTry(), StartCatch() and StartFinally() methods. | |
StartTry | Initiates a code block that might throw server exceptions. | |
ToString | (Inherited from Object.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IFromJson.CustomFromJson | Indicates whether custom code is used to initialize the ExceptionHandlingScope class. | |
IFromJson.FromJson | Initializes the object with the response that comes from the server. |
Top