MessageSession.SetStateAsync(Stream) Method

Definition

Asynchronously sets the state of the message session.

public System.Threading.Tasks.Task SetStateAsync (System.IO.Stream sessionState);
member this.SetStateAsync : System.IO.Stream -> System.Threading.Tasks.Task
Public Function SetStateAsync (sessionState As Stream) As Task

Parameters

sessionState
Stream

The stream to which the state information is persisted.

Returns

The state of the message session.

Applies to