Export (0) Print
Expand All

BrokeredMessage.EndAbandon Method

Ends an asynchronous request to abandon the lock on a peek-locked message.

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

public void EndAbandon(
	IAsyncResult result
)

Parameters

result
Type: System.IAsyncResult
An IAsyncResult that references the asynchronous Abandon request.

ExceptionCondition
ArgumentException

Thrown if an incorrect result is provided. The result object passed to EndAbandon must be the one returned from the matching BeginAbandon or passed to the callback provided to BeginAbandon.

ArgumentNullException

Thrown if invoked with a null result.

TimeoutException

Thrown when the operation times out. The timeout period is initialized through the MessagingFactorySettings. You may need to increase the value of OperationTimeout to avoid this exception if the timeout value is relatively low.

MessagingCommunicationException

Thrown when the queue or subscription that receives the message is no longer present in the message server.

InvalidOperationException

Thrown when invoked on a message that has not been received in peek-lock mode.

ServerBusyException

When service bus service is busy and is unable process the request.

MessagingEntityNotFoundException

When messaging entity the message was received from has been deleted.

MessageLockLostException

When the lock associated with this message was lost or the lock token was not found.

SessionLockLostException

When this message was received from a Session and the lock associated with the session was lost.

UnauthorizedAccessException

When the security token provided by the TokenProvider does not contain the claims to perform this operation.

QuotaExceededException

When the number of concurrent connections to an entity exceed the maximum allowed value.

Community Additions

ADD
Show:
© 2014 Microsoft