Share via


ClientRequestException class

The exception that is thrown when a client request fails.

Inheritance hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Client.ClientRequestException
      Microsoft.SharePoint.Client.InvalidQueryExpressionException

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ClientRequestException _
    Inherits Exception
'Usage
Dim instance As ClientRequestException
[SerializableAttribute]
public class ClientRequestException : Exception

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

ClientRequestException members

Microsoft.SharePoint.Client namespace