您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

MessageSession.SetStateAsync(Stream) MessageSession.SetStateAsync(Stream) 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 Stream Stream

The stream to which the state information is persisted.

Returns

The state of the message session.

Applies to