SALES: 1-800-867-1380

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

Begins an asynchronous request to create a MessagingFactory object.

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

'Declaration
Public Shared Function BeginCreate ( _
	addresses As IEnumerable(Of Uri), _
	callback As AsyncCallback, _
	state As Object _
) As IAsyncResult
'Usage
Dim addresses As IEnumerable(Of Uri)
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

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

Parameters

addresses
Type: System.Collections.Generic.IEnumerable(Of Uri)
An enumeration of namespace base address.
callback
Type: System.AsyncCallback
An AsyncCallback delegate that references the method to invoke when the operation is complete.
state
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

ADD
Show:
© 2014 Microsoft