SALES: 1-800-867-1380
Microsoft Azure
Collapse the table of content
Expand the table of content

SubscriptionClient.CreateReceiver Method (String, ReceiveMode)

Creates a new message receiver from a specified sub-queue.

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

public MessageReceiver CreateReceiver(
	string subQueueName,
	ReceiveMode receiveMode
)

Parameters

subQueueName
Type: System.String
Name of the sub-queue.
receiveMode
Type: Microsoft.ServiceBus.Messaging.ReceiveMode
The ReceiveMode from that subQueueName.

Return Value

Type: Microsoft.ServiceBus.Messaging.MessageReceiver
A newly created MessageReceiver object.
Show:
© 2016 Microsoft