MessagingFactory.OnCreateMessageSender 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
OnCreateMessageSender(String, TimeSpan) |
Executes the create message sender action. |
OnCreateMessageSender(String, String, TimeSpan) |
Executes the create message sender action. |
OnCreateMessageSender(String, TimeSpan)
Executes the create message sender action.
protected virtual Microsoft.ServiceBus.Messaging.MessageSender OnCreateMessageSender (string entityName, TimeSpan timeout);
abstract member OnCreateMessageSender : string * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSender
override this.OnCreateMessageSender : string * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSender
Protected Overridable Function OnCreateMessageSender (entityName As String, timeout As TimeSpan) As MessageSender
Parameters
- entityName
- String
The name of the entity.
- timeout
- TimeSpan
The timeout.
Returns
An IAsyncResult object that references the asynchronous create message sender action.
Applies to
OnCreateMessageSender(String, String, TimeSpan)
Executes the create message sender action.
protected virtual Microsoft.ServiceBus.Messaging.MessageSender OnCreateMessageSender (string transferDestinationEntityName, string viaEntityName, TimeSpan timeout);
abstract member OnCreateMessageSender : string * string * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSender
override this.OnCreateMessageSender : string * string * TimeSpan -> Microsoft.ServiceBus.Messaging.MessageSender
Protected Overridable Function OnCreateMessageSender (transferDestinationEntityName As String, viaEntityName As String, timeout As TimeSpan) As MessageSender
Parameters
- transferDestinationEntityName
- String
The name of the transfer destination entity.
- viaEntityName
- String
The via-entity name.
- timeout
- TimeSpan
The message timeout.
Returns
The executed MessageSender action.