ClientRequestFailedEventArgs Members
Include Protected Members
Include Inherited Members
Provides data for the exception handling method when a ClientRequest execution fails.
The ClientRequestFailedEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ClientRequestFailedEventArgs(ClientRequest, Exception) | Initializes a new instance of the ClientRequestFailedEventArgs class with the specified ClientRequest that has failed execution, and the Exception associated with the failure. | |
ClientRequestFailedEventArgs(ClientRequest, String, String, Int32, String, String, Object) | Initializes a new instance of the ClientRequestFailedEventArgs class with the specified ClientRequest that failed execution and provides information about the failure. |
Top
Properties
Name | Description | |
---|---|---|
ErrorCode | Gets the code of the current error. | |
ErrorDetails | Gets the object that provides additional detailed information about the current error. | |
ErrorTypeName | Gets the name of the current error type. | |
ErrorValue | Gets the value that indicates the current error. | |
Exception | Gets the exception that is associated with the current failed event. | |
Message | Gets the error message of the failure. | |
Request | Gets the ClientRequest object that is associated with the raised event. (Inherited from ClientRequestEventArgs.) | |
StackTrace | Gets the current stack trace when an exception is thrown. |
Top
Methods
Name | Description | |
---|---|---|
ToString | (Inherited from Object.) |
Top