Share via


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

See also

Reference

ClientRequestException class

ClientRequestException members

ClientRequestException overload

Microsoft.SharePoint.Client namespace