Share via


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
Protected Overridable Sub OnSetState (trackingContext As TrackingContext, stream As Stream, timeout As TimeSpan)

Parameters

trackingContext
TrackingContext

The TrackingContext to use.

stream
Stream

The stream.

timeout
TimeSpan

The timeout.

Applies to