共用方式為


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);
member this.CreateMessageReceiver : string -> Microsoft.ServiceBus.Messaging.MessageReceiver
Public Function CreateMessageReceiver (entityPath As String) As MessageReceiver

Parameters

entityPath
String

The path of the entity.

Returns

The newly created message receiver.

Applies to

CreateMessageReceiver(String, ReceiveMode)

Creates a message receiver.

public Microsoft.ServiceBus.Messaging.MessageReceiver CreateMessageReceiver (string entityPath, Microsoft.ServiceBus.Messaging.ReceiveMode receiveMode);
member this.CreateMessageReceiver : string * Microsoft.ServiceBus.Messaging.ReceiveMode -> Microsoft.ServiceBus.Messaging.MessageReceiver
Public Function CreateMessageReceiver (entityPath As String, receiveMode As ReceiveMode) As MessageReceiver

Parameters

entityPath
String

The path of the entity.

receiveMode
ReceiveMode

The receive mode.

Returns

The newly created message receiver.

Applies to