QueueClient.OnBeginCreateReceiver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OnBeginCreateReceiver(ReceiveMode, TimeSpan, AsyncCallback, Object) |
Executes the begin create receiver action. |
OnBeginCreateReceiver(String, ReceiveMode, TimeSpan, AsyncCallback, Object) |
Executes the begin create receiver action. |
OnBeginCreateReceiver(ReceiveMode, TimeSpan, AsyncCallback, Object)
Executes the begin create receiver action.
protected abstract IAsyncResult OnBeginCreateReceiver (Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginCreateReceiver : Microsoft.ServiceBus.Messaging.ReceiveMode * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginCreateReceiver (receiveMode As ReceiveMode, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- receiveMode
- ReceiveMode
The message ReceiveMode receive mode.
- timeout
- TimeSpan
The maximum time before this operation times out.
- callback
- AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
- state
- Object
A user-defined object that contains information about the receive operation. This object is passed to the Microsoft.ServiceBus.Messaging.QueueClient.EndCreateReceiver(System.IAsyncResult) delegate when the operation is complete.
Returns
An IAsyncResult object that references the asynchronous parent method.
Applies to
OnBeginCreateReceiver(String, ReceiveMode, TimeSpan, AsyncCallback, Object)
Executes the begin create receiver action.
protected abstract IAsyncResult OnBeginCreateReceiver (string subQueueName, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode, TimeSpan timeout, AsyncCallback callback, object state);
abstract member OnBeginCreateReceiver : string * Microsoft.ServiceBus.Messaging.ReceiveMode * TimeSpan * AsyncCallback * obj -> IAsyncResult
Protected MustOverride Function OnBeginCreateReceiver (subQueueName As String, receiveMode As ReceiveMode, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- subQueueName
- String
Name of the sub-queue.
- receiveMode
- ReceiveMode
The message ReceiveMode receive mode.
- timeout
- TimeSpan
The maximum time before this operation times out.
- callback
- AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
- state
- Object
A user-defined object that contains information about the receive operation. This object is passed to the Microsoft.ServiceBus.Messaging.QueueClient.EndCreateReceiver(System.IAsyncResult) delegate when the operation is complete.
Returns
An IAsyncResult object that references the asynchronous parent method.
Applies to
Azure SDK for .NET