ClientRequestException constructor (String, Exception)
Initializes a new instance of the ClientRequestException class with a specified exception message and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
innerException As Exception _
)
'Usage
Dim message As String
Dim innerException As Exception
Dim instance As New ClientRequestException(message, _
innerException)
public ClientRequestException(
string message,
Exception innerException
)
Parameters
message
Type: System.StringThe String object that explains the reason for the exception.
innerException
Type: System.ExceptionThe Exception that is the cause of the ClientRequestException, or a null reference if no inner exception is specified.
See also
Reference
ClientRequestException members