SALES: 1-800-867-1380

MessagingFactory.CreateMessageReceiverAsync Method (String, ReceiveMode)

 

Asynchronously creates a message receiver.

Namespace:   Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public Task<MessageReceiver> CreateMessageReceiverAsync(
	string entityPath,
	ReceiveMode receiveMode
)

Parameters

entityPath
Type: System.String

The path of the entity.

receiveMode
Type: Microsoft.ServiceBus.Messaging.ReceiveMode

The receive mode.

Return Value

Type: System.Threading.Tasks.Task<MessageReceiver>

A task instance that represents the asynchronous create message receiver operation.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft