CreateMessageReceiver Method (String, ReceiveMode)
Collapse the table of content
Expand the table of content

MessagingFactory.CreateMessageReceiver Method (String, ReceiveMode)

 

Creates a message receiver.

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

public MessageReceiver CreateMessageReceiver(
	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: Microsoft.ServiceBus.Messaging.MessageReceiver

The newly created message receiver.

Return to top
Show:
© 2016 Microsoft