SALES: 1-800-867-1380

MessagingFactory.BeginCreate Method (IEnumerable(Of String), AsyncCallback, Object)

Begins an asynchronous request to create a MessagingFactory object.

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

Public Shared Function BeginCreate ( _
	addresses As IEnumerable(Of String), _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult
Dim addresses As IEnumerable(Of String)
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = MessagingFactory.BeginCreate(addresses, _
	callback, state)


Type: System.Collections.Generic.IEnumerable(Of String)
An enumeration of namespace base address.
Type: System.AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
Type: System.Object
A user-provided object that contains information about the create operation.

Return Value

Type: System.IAsyncResult
An IAsyncResult object that references the asynchronous create a MessagingFactory operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft