SALES: 1-800-867-1380
CreateMessageReceiverAsync Method (String, ReceiveMode)
Collapse the table of content
Expand the table of content

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
Show:
© 2016 Microsoft