ClientRequestException constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the ClientRequestException class with serialized data.
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client.Runtime (in Microsoft.SharePoint.Client.Runtime.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New ClientRequestException(info, context)
protected ClientRequestException(
SerializationInfo info,
StreamingContext context
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoA SerializationInfo object that contains the serialized object data that has additional information about the exception that has been thrown.
context
Type: System.Runtime.Serialization.StreamingContextA StreamingContext object that contains contextual information about the source or destination.
See also
Reference
ClientRequestException members