次の方法で共有


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
Public method 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.
Public method 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
Public property ErrorCode Gets the code of the current error.
Public property ErrorDetails Gets the object that provides additional detailed information about the current error.
Public property ErrorTypeName Gets the name of the current error type.
Public property ErrorValue Gets the value that indicates the current error.
Public property Exception Gets the exception that is associated with the current failed event.
Public property Message Gets the error message of the failure.
Public property Request Gets the ClientRequest object that is associated with the raised event. (Inherited from ClientRequestEventArgs.)
Public property StackTrace Gets the current stack trace when an exception is thrown.

Top

Methods

  Name Description
Public method ToString (Inherited from Object.)

Top

See Also

Reference

ClientRequestFailedEventArgs Class

Microsoft.SharePoint.Client Namespace