SALES: 1-800-867-1380

MessagingFactory.CreateAsync Method (IEnumerable(String), TokenProvider)

Asynchronously creates a new messaging factory object.

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

public static function CreateAsync(
	addresses : IEnumerable<String>, 
	tokenProvider : TokenProvider
) : Task<MessagingFactory>

Parameters

addresses
Type: System.Collections.Generic.IEnumerable(String)
An enumeration of base addresses.
tokenProvider
Type: Microsoft.ServiceBus.TokenProvider
The token provider.

Return Value

Type: System.Threading.Tasks.Task(MessagingFactory)
A task instance that represents the asynchronous create operation.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft