SALES: 1-800-867-1380

MessagingFactory.CreateAsync Method (Uri, TokenProvider)

Asynchronously creates a new messaging factory object.

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

public static Task<MessagingFactory> CreateAsync(
	Uri address,
	TokenProvider tokenProvider
)

Parameters

address
Type: System.Uri
The namespace base address.
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:
© 2014 Microsoft