MessageSession.OnBeginDefer Method

Definition

Executes the begin defer action.

protected override IAsyncResult OnBeginDefer (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, System.Collections.Generic.IEnumerable<Guid> lockTokens, System.Collections.Generic.IDictionary<string,object> propertiesToModify, bool fromSync, TimeSpan timeout, AsyncCallback callback, object state);
override this.OnBeginDefer : Microsoft.ServiceBus.Tracing.TrackingContext * seq<Guid> * System.Collections.Generic.IDictionary<string, obj> * bool * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected Overrides Function OnBeginDefer (trackingContext As TrackingContext, lockTokens As IEnumerable(Of Guid), propertiesToModify As IDictionary(Of String, Object), fromSync As Boolean, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

trackingContext
TrackingContext

TrackingContext to use.

lockTokens
IEnumerable<Guid>

The lock tokens.

propertiesToModify
IDictionary<String,Object>

message properties to modify.

fromSync
Boolean
timeout
TimeSpan

The timeout.

callback
AsyncCallback

The callback.

state
Object

The state.

Returns

Applies to