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

MessageSession.OnSetState(TrackingContext, Stream, TimeSpan) MessageSession.OnSetState(TrackingContext, Stream, TimeSpan) Method

Definition

Executes the set state action.

protected virtual void OnSetState (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, System.IO.Stream stream, TimeSpan timeout);
abstract member OnSetState : Microsoft.ServiceBus.Tracing.TrackingContext * System.IO.Stream * TimeSpan -> unit
override this.OnSetState : Microsoft.ServiceBus.Tracing.TrackingContext * System.IO.Stream * TimeSpan -> unit

Parameters

trackingContext
TrackingContext TrackingContext

The TrackingContext to use.

stream
Stream Stream

The stream.

timeout
TimeSpan TimeSpan

The timeout.

Applies to