ExceptionHandlingScope 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.

  Name Description
Public method ExceptionHandlingScope Initializes a new instance of the ExceptionHandlingScope class with the specified client runtime context.
Top

  Name Description
Public property ErrorMessage Gets the error message of the exception when the code is executed in the try scope.
Public property HasException Gets the flag that indicates whether an exception has occurred in the try scope.
Public property Processed Gets the flag that indicates whether the scope has been processed by the server.
Public property ServerErrorCode Gets the error code that corresponds to the exception that occurred in the try scope.
Public property ServerErrorDetails Gets the details of the exception.
Public property ServerErrorTypeName Gets the type name, such as System.ArgumentException, of the exception.
Public property ServerErrorValue Gets the error value that corresponds to the exception that occurs in the try scope.
Public property ServerStackTrace Gets the server call stack information of the exception in the try scope.
Top

  Name Description
Public method StartCatch Initiates the start of a custom code block that is to be executed on the client when the server throws an exception.
Public method 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.
Public method StartScope Initiates a code block that contains calls to the StartTry(), StartCatch(), and StartFinally() methods.
Public method StartTry Initiates a code block that might throw server exceptions.
Public method ToString (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method IFromJson.CustomFromJson Indicates whether custom code is used to initialize the ExceptionHandlingScope class.
Explicit interface implemetation Private method IFromJson.FromJson Initializes the object with the response that comes from the server.
Top
Show: