Share via


MessageSession.OnBeginSetState Method

Definition

Executes the begin set state action.

protected abstract IAsyncResult OnBeginSetState (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, System.IO.Stream sessionState, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginSetState : Microsoft.ServiceBus.Tracing.TrackingContext * System.IO.Stream * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginSetState (trackingContext As TrackingContext, sessionState As Stream, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

trackingContext
TrackingContext

The TrackingContext to use.

sessionState
Stream

The state.

timeout
TimeSpan

The timeout.

callback
AsyncCallback

The callback.

state
Object

The state.

Returns

.

Applies to