HandleExceptionArgs Class

Specifies details of an exception that has occurred and the details of the associated HTTP response.


Namespace:  System.Data.Services
Assembly:  Microsoft.Data.Services (in Microsoft.Data.Services.dll)

Public Class HandleExceptionArgs
Dim instance As HandleExceptionArgs

The HandleExceptionArgs type exposes the following members.

Public propertyCustomAnnotations Obsolete.
Public propertyExceptionGets or sets the exception that will be processed and returned in the response.
Public propertyInstanceAnnotations
Public propertyResponseContentTypeGets the response content type.
Public propertyResponseStatusCodeGets the status code that will be sent back in the HTTP header section of the response when an error occurs on the data service.
Public propertyResponseWrittenGets a value indicating whether the response has been written.
Public propertyUseVerboseErrorsGets or sets a Boolean value that indicates whether verbose errors will be returned.

Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.