Share via


MessageSession.OnGetState(TrackingContext, TimeSpan) Method

Definition

Executes the get state action.

protected virtual System.IO.Stream OnGetState (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, TimeSpan timeout);
abstract member OnGetState : Microsoft.ServiceBus.Tracing.TrackingContext * TimeSpan -> System.IO.Stream
override this.OnGetState : Microsoft.ServiceBus.Tracing.TrackingContext * TimeSpan -> System.IO.Stream
Protected Overridable Function OnGetState (trackingContext As TrackingContext, timeout As TimeSpan) As Stream

Parameters

trackingContext
TrackingContext

The TrackingContext to use.

timeout
TimeSpan

The timeout.

Returns

.

Applies to