QueueClient.CreateReceiver Method (String, ReceiveMode)
Creates the message receiver.
Assembly: Microsoft.ServiceBus.Messaging (in Microsoft.ServiceBus.Messaging.dll)
'Declaration Public Function CreateReceiver ( _ subQueueName As String, _ receiveMode As ReceiveMode _ ) As MessageReceiver 'Usage Dim instance As QueueClient Dim subQueueName As String Dim receiveMode As ReceiveMode Dim returnValue As MessageReceiver returnValue = instance.CreateReceiver(subQueueName, _ receiveMode)
public MessageReceiver CreateReceiver( string subQueueName, ReceiveMode receiveMode )
public: virtual MessageReceiver^ CreateReceiver( String^ subQueueName, ReceiveMode receiveMode ) sealed
abstract CreateReceiver : subQueueName:string * receiveMode:ReceiveMode -> MessageReceiver override CreateReceiver : subQueueName:string * receiveMode:ReceiveMode -> MessageReceiver
public final function CreateReceiver( subQueueName : String, receiveMode : ReceiveMode ) : MessageReceiver
Name of the sub-queue.