QueueClient.Abandon Method (Guid)

 

Discards the message and relinquishes the message lock ownership.

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

public void Abandon(
	Guid lockToken
)

Parameters

lockToken
Type: System.Guid

The lock token bound to the locked message instance to abandon.

Exception Condition
TimeoutException

Thrown if the operation exceeded the timeout value set by OperationTimeout.

OperationCanceledException

Thrown if the client entity has been closed or aborted.

Return to top
Show: