MessagingFactory.OnCreateMessageReceiver Method
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.MessageReceiverAn IAsyncResult object that references the asynchronous create message receiver action.