Share via


JsonRpcResult.GetResult<T> Method

Definition

Gets the value of the Result, taking into account any possible type coercion.

public virtual T GetResult<T> ();
abstract member GetResult : unit -> 'T
override this.GetResult : unit -> 'T
Public Overridable Function GetResult(Of T) () As T

Type Parameters

T

The Type to coerce the Result to.

Returns

T

The result.

Remarks

Derived types may override this method in order to deserialize the Result such that it can be assignable to T.

Applies to