SALES: 1-800-867-1380

MessagingFactory.CreateMessageReceiver Method (String, ReceiveMode)

Creates a message receiver.

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

'Declaration
Public Function CreateMessageReceiver ( _
	entityPath As String, _
	receiveMode As ReceiveMode _
) As MessageReceiver
'Usage
Dim instance As MessagingFactory 
Dim entityPath As String 
Dim receiveMode As ReceiveMode 
Dim returnValue As MessageReceiver 

returnValue = instance.CreateMessageReceiver(entityPath, _
	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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft