ExceptionHandlingScope.IFromJson.FromJson Method
Initializes the object with the response that comes from the server.
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
Private Sub FromJson ( _
reader As JsonReader _
) Implements IFromJson.FromJson
'Usage
Dim instance As ExceptionHandlingScope
Dim reader As JsonReader
CType(instance, IFromJson).FromJson(reader)
void IFromJson.FromJson(
JsonReader reader
)
Parameters
reader
Type: Microsoft.SharePoint.Client.JsonReaderThe JsonReader object that is used to process the response that is in JSON format.
Implements
IFromJson.FromJson(JsonReader)
Remarks
The server response that is in JSON format contains the exception information of the code execution in the server, such as the error message and the error code of the exception.