MessagingFactory.OnCreateMessageSender Method
Executes the create message sender action.
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
protected virtual MessageSender OnCreateMessageSender( string entityName, TimeSpan timeout )
Parameters
- entityName
- Type: System.String
The name of the entity.
- timeout
- Type: System.TimeSpan
The timeout.
Return Value
Type: Microsoft.ServiceBus.Messaging.MessageSenderAn IAsyncResult object that references the asynchronous create message sender action.