OnDefer Method

MessageReceiver.OnDefer Method (TrackingContext, IEnumerable<Guid>, IDictionary<String, Object>, TimeSpan)

 

Executes upon calling the Defer operation.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

protected virtual void OnDefer(
	TrackingContext trackingContext,
	IEnumerable<Guid> lockTokens,
	IDictionary<string, object> propertiesToModify,
	TimeSpan timeout
)

Parameters

trackingContext
Type: Microsoft.ServiceBus.Tracing.TrackingContext

The context information associated by a transaction tracking this operation.

lockTokens
Type: System.Collections.Generic.IEnumerable<Guid>

The collection of lock tokens bound to the locked message instances.

propertiesToModify
Type: System.Collections.Generic.IDictionary<String, Object>

The properties to modify.

timeout
Type: System.TimeSpan

The time span the operation waits before it times out.

Return to top
Show:
© 2016 Microsoft