SALES: 1-800-867-1380

MessagingFactory.OnCreateMessageSender Method (String, TimeSpan)

Executes the create message sender action.

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

'Declaration
Protected Overridable Function OnCreateMessageSender ( _
	entityName As String, _
	timeout As TimeSpan _
) As MessageSender
'Usage
Dim entityName As String 
Dim timeout As TimeSpan 
Dim returnValue As MessageSender 

returnValue = Me.OnCreateMessageSender(entityName, _
	timeout)

Parameters

entityName
Type: System.String
The name of the entity.
timeout
Type: System.TimeSpan
The timeout.

Return Value

Type: Microsoft.ServiceBus.Messaging.MessageSender
An IAsyncResult object that references the asynchronous create message sender action.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft