ClientRequestFailedEventArgs Constructor (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.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
request As ClientRequest, _
message As String, _
stackTrace As String, _
errorCode As Integer, _
errorValue As String, _
errorTypeName As String, _
errorDetails As Object _
)
'Usage
Dim request As ClientRequest
Dim message As String
Dim stackTrace As String
Dim errorCode As Integer
Dim errorValue As String
Dim errorTypeName As String
Dim errorDetails As Object
Dim instance As New ClientRequestFailedEventArgs(request, _
message, stackTrace, errorCode, errorValue, _
errorTypeName, errorDetails)
public ClientRequestFailedEventArgs(
ClientRequest request,
string message,
string stackTrace,
int errorCode,
string errorValue,
string errorTypeName,
Object errorDetails
)
Parameters
request
Type: Microsoft.SharePoint.Client.ClientRequestThe ClientRequest object that represents the client request that failed execution.
message
Type: System.StringThe String object that represents the error message of the failure.
stackTrace
Type: System.StringThe String object that represents the current stack trace when the exception is thrown.
errorCode
Type: System.Int32The Int32 object that represents the code of the current error.
errorValue
Type: System.StringThe String object that represents the value that indicates the current error.
errorTypeName
Type: System.StringThe String object that represents the name of the current error type.
errorDetails
Type: System.ObjectThe Object that provides additional detailed information about the current error.
See Also
Reference
ClientRequestFailedEventArgs Class
ClientRequestFailedEventArgs Members