OrchestrationMetadata.ReadOutputAs<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 output into an object of the specified type.
public T? ReadOutputAs<T> ();
member this.ReadOutputAs : unit -> 'T
Public Function ReadOutputAs(Of T) () As T
Type Parameters
- T
The type to deserialize the orchestration output into.
Returns
Returns the deserialized output 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.