Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
OnCreateMessageReceiver Method

MessagingFactory.OnCreateMessageReceiver Method (String, ReceiveMode, TimeSpan)

 

Executes the create message receiver action.

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

protected virtual MessageReceiver OnCreateMessageReceiver(
	string entityName,
	ReceiveMode receiveMode,
	TimeSpan timeout
)

Parameters

entityName
Type: System.String

The name of the entity.

receiveMode
Type: Microsoft.ServiceBus.Messaging.ReceiveMode

The message receive mode.

timeout
Type: System.TimeSpan

The timeout.

Return Value

Type: Microsoft.ServiceBus.Messaging.MessageReceiver

An IAsyncResult object that references the asynchronous create message receiver action.

Return to top
Show:
© 2015 Microsoft