SP.ClientRequestFailedEventArgs(request, message, stackTrace, errorCode, errorValue, errorTypeName, errorDetails) Constructor

Applies to: SharePoint Foundation 2010

Initializes a new instance of the SP.ClientRequestFailedEventArgs Class class with the specified SP.ClientRequest Class that has failed execution, and the. Exception associated with the failure.

var value = new ClientRequestFailedEventArgs(request, message, stackTrace, errorCode, errorValue, errorTypeName, errorDetails);

Parameters

  • ex
    The Exception object that represents the exception that is associated with the failure.

Type: SP.ClientRequest

message

Type: String

stackTrace

Type: String

errorCode

Type: Int32

errorValue

Type: String

errorTypeName

Type: String

errorDetails

Type: Object

Applies To

SP.ClientRequestFailedEventArgs Class

See Also

Reference

SP.ClientRequestFailedEventArgs Methods

SP.ClientRequestFailedEventArgs Properties

SP Namespace