MessageReceiver.BeginReceive Method (AsyncCallback, Object)
Begins an asynchronous operation to receive a message.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
'Declaration Public Function BeginReceive ( _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult 'Usage Dim instance As MessageReceiver Dim callback As AsyncCallback Dim state As Object Dim returnValue As IAsyncResult returnValue = instance.BeginReceive(callback, _ state)
- Type: System.AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
- Type: System.Object
A user-defined object that contains state information about the asynchronous operation.