Udostępnij za pośrednictwem


MessagingFactory.CreateMessageReceiverAsync Method

Definition

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