MessagingFactory.CreateMessageReceiver Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET