Udostępnij za pośrednictwem


DirectMethodServiceRequest.GetPayload<T> Method

Definition

Returns JSON payload in a custom type.

public T GetPayload<T> ();
member this.GetPayload : unit -> 'T
Public Function GetPayload(Of T) () As T

Type Parameters

T

The custom type into which the JSON payload can be deserialized.

Returns

T

The JSON payload in custom type.

Applies to