MessagingFactory.CreateMessageReceiverAsync 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
CreateMessageReceiverAsync(String, ReceiveMode) |
Asynchronously creates a message receiver. |
CreateMessageReceiverAsync(String) |
Asynchronously creates a message receiver. |
CreateMessageReceiverAsync(String, ReceiveMode)
Asynchronously creates a message receiver.
public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageReceiver> CreateMessageReceiverAsync (string entityPath, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode);
member this.CreateMessageReceiverAsync : string * Microsoft.ServiceBus.Messaging.ReceiveMode -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageReceiver>
Public Function CreateMessageReceiverAsync (entityPath As String, receiveMode As ReceiveMode) As Task(Of MessageReceiver)
Parameters
- entityPath
- String
The path of the entity.
- receiveMode
- ReceiveMode
The receive mode.
Returns
A task instance that represents the asynchronous create message receiver operation.
Applies to
CreateMessageReceiverAsync(String)
Asynchronously creates a message receiver.
public System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageReceiver> CreateMessageReceiverAsync (string entityPath);
member this.CreateMessageReceiverAsync : string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessageReceiver>
Public Function CreateMessageReceiverAsync (entityPath As String) As Task(Of MessageReceiver)
Parameters
- entityPath
- String
The path of the entity.
Returns
A task instance that represents the asynchronous create message receiver operation.
Applies to
Azure SDK for .NET