HandleExceptionArgs Class

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

Inheritance Hierarchy

System.Object
  System.Data.Services.HandleExceptionArgs

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

Syntax

'Declaration
Public Class HandleExceptionArgs
'Usage
Dim instance As HandleExceptionArgs
public class HandleExceptionArgs
public ref class HandleExceptionArgs
type HandleExceptionArgs =  class end
public class HandleExceptionArgs

The HandleExceptionArgs type exposes the following members.

Properties

  Name Description
Public property Exception Gets or sets the exception that will be processed and returned in the response.
Public property ResponseContentType Gets the response content type.
Public property ResponseStatusCode Gets 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 property ResponseWritten Gets a value indicating whether the response has been written.
Public property UseVerboseErrors Gets or sets a Boolean value that indicates whether verbose errors will be returned.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

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

See Also

Reference

System.Data.Services Namespace