SALES: 1-800-867-1380
OnBeginCancelScheduledMessage Method

MessageSender.OnBeginCancelScheduledMessage Method (TrackingContext, IEnumerable<Int64>, TimeSpan, AsyncCallback, Object)

 

Raises an event that starts the cancellation of the scheduled message.

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

protected abstract IAsyncResult OnBeginCancelScheduledMessage(
	TrackingContext trackingContext,
	IEnumerable<long> sequenceNumbers,
	TimeSpan timeout,
	AsyncCallback callback,
	object state
)

Parameters

trackingContext
Type: Microsoft.ServiceBus.Tracing.TrackingContext

The context of the tracking.

sequenceNumbers
Type: System.Collections.Generic.IEnumerable<Int64>

The sequence numbers.

timeout
Type: System.TimeSpan

A client side timeout value for the operation. The operation should be aborted or cancelled if the duration exceeds this timeout.

callback
Type: System.AsyncCallback

A user callback to be invoked when the operation completes.

state
Type: System.Object

The state to be passed to the callback when the operation completes.

Return Value

Type: System.IAsyncResult

The asynchronous result of the operation.

Return to top
Show:
© 2016 Microsoft