OrchestrationMetadata.ReadInputAs<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deserializes the orchestration's input into an object of the specified type.
public T? ReadInputAs<T> ();
member this.ReadInputAs : unit -> 'T
Public Function ReadInputAs(Of T) () As T
Type Parameters
- T
The type to deserialize the orchestration input into.
Returns
Returns the deserialized input value.
Exceptions
Thrown if this metadata object was fetched without the option to read inputs and outputs.
Remarks
This method can only be used when inputs and outputs are explicitly requested from the GetInstancesAsync(String, CancellationToken) or WaitForInstanceCompletionAsync(String, CancellationToken) method that produced this OrchestrationMetadata object.