MessagingFactory.CreateMessageReceiver Method

Definition

Overloads

CreateMessageReceiver(String)

Creates a message receiver.

CreateMessageReceiver(String, ReceiveMode)

Creates a message receiver.

CreateMessageReceiver(String)

Creates a message receiver.

public Microsoft.ServiceBus.Messaging.MessageReceiver CreateMessageReceiver (string entityPath);
Parameters
entityPath
String

The path of the entity.

Returns

The newly created message receiver.

CreateMessageReceiver(String, ReceiveMode)

Creates a message receiver.

public Microsoft.ServiceBus.Messaging.MessageReceiver CreateMessageReceiver (string entityPath, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode);
Parameters
entityPath
String

The path of the entity.

receiveMode
ReceiveMode

The receive mode.

Returns

The newly created message receiver.