Share via


RemoteInvocationException.ErrorData Property

Definition

Gets the error.data value in the error response, if one was provided.

public Newtonsoft.Json.Linq.JToken ErrorData { get; }
public object ErrorData { get; }
public object? ErrorData { get; }
member this.ErrorData : Newtonsoft.Json.Linq.JToken
member this.ErrorData : obj
Public ReadOnly Property ErrorData As JToken
Public ReadOnly Property ErrorData As Object

Property Value

Newtonsoft.Json.Linq.JToken

Remarks

Depending on the IJsonRpcMessageFormatter used, the value of this property, if any, may be a Newtonsoft.Json.Linq.JToken or a deserialized object. If a deserialized object, the type of this object is determined by GetErrorDetailsDataType(JsonRpcError). The default implementation of this method produces a CommonErrorData object.

Applies to