ReleaseLock Method (Uri)
Releases the lock on the message contained at the specified URI.
Namespace: Microsoft.ServiceBus
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
Syntax
'Declaration
Public Sub ReleaseLock ( _
lockUri As Uri _
)
'Usage
Dim instance As MessageBufferClient
Dim lockUri As Uri
instance.ReleaseLock(lockUri)
public void ReleaseLock(
Uri lockUri
)
public:
void ReleaseLock(
Uri^ lockUri
)
member ReleaseLock :
lockUri:Uri -> unit
public function ReleaseLock(
lockUri : Uri
)
Parameters
- lockUri
Type: System. . :: . .Uri
The lock URI of the message buffer.
Remarks
The lock URI is formed in the following fashion:
https://{serviceNamespace}.servicebus.windows.net/{path}/{bufferName}/messages/{messageid}/{lockid}
For more information, see How to: Retrieve a Message from an AppFabric Service Bus Message Buffer.