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
Assemblies:   Microsoft.SharePoint.Client.Silverlight.Runtime (in Microsoft.SharePoint.Client.Silverlight.Runtime.dll);  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