MessagingFactory.CreateAsync Method

Definition

Overloads

CreateAsync(Uri, TokenProvider)

Asynchronously creates a new messaging factory object.

CreateAsync(Uri, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

CreateAsync(String, TokenProvider)

Asynchronously creates a new messaging factory object.

CreateAsync(String, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<Uri>, TokenProvider)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<Uri>, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<String>)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<String>, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

CreateAsync(Uri)

Asynchronously creates a new messaging factory object.

CreateAsync(String)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<Uri>)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<String>, TokenProvider)

Asynchronously creates a new messaging factory object.

CreateAsync(Uri, TokenProvider)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (Uri address, Microsoft.ServiceBus.TokenProvider tokenProvider);
Parameters
address
Uri

The namespace base address.

tokenProvider
TokenProvider

The token provider.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(Uri, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (Uri address, Microsoft.ServiceBus.Messaging.MessagingFactorySettings factorySettings);
Parameters
address
Uri

The namespace base address.

factorySettings
MessagingFactorySettings

The MessagingFactory settings.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(String, TokenProvider)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (string address, Microsoft.ServiceBus.TokenProvider tokenProvider);
Parameters
address
String

The base address of the service namespace.

tokenProvider
TokenProvider

The token provider.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(String, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (string address, Microsoft.ServiceBus.Messaging.MessagingFactorySettings factorySettings);
Parameters
address
String

The base address of the service namespace.

factorySettings
MessagingFactorySettings

The MessagingFactory settings.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(IEnumerable, TokenProvider)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (System.Collections.Generic.IEnumerable<Uri> addresses, Microsoft.ServiceBus.TokenProvider tokenProvider);
Parameters
addresses
IEnumerable<Uri>

An enumeration of address.

tokenProvider
TokenProvider

The token provider.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(IEnumerable, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (System.Collections.Generic.IEnumerable<Uri> addresses, Microsoft.ServiceBus.Messaging.MessagingFactorySettings factorySettings);
Parameters
addresses
IEnumerable<Uri>

An enumeration of address.

factorySettings
MessagingFactorySettings

The MessagingFactory settings.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(IEnumerable)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (System.Collections.Generic.IEnumerable<string> addresses);
Parameters
addresses
IEnumerable<String>

An enumeration of base addresses.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(IEnumerable, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (System.Collections.Generic.IEnumerable<string> addresses, Microsoft.ServiceBus.Messaging.MessagingFactorySettings factorySettings);
Parameters
addresses
IEnumerable<String>

An enumeration of base addresses.

factorySettings
MessagingFactorySettings

The MessagingFactory settings.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(Uri)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (Uri address);
Parameters
address
Uri

The namespace base address.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(String)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (string address);
Parameters
address
String

The base address of the service namespace.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(IEnumerable)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (System.Collections.Generic.IEnumerable<Uri> addresses);
Parameters
addresses
IEnumerable<Uri>

An enumeration of address.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(IEnumerable, TokenProvider)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (System.Collections.Generic.IEnumerable<string> addresses, Microsoft.ServiceBus.TokenProvider tokenProvider);
Parameters
addresses
IEnumerable<String>

An enumeration of base addresses.

tokenProvider
TokenProvider

The token provider.

Returns

A task instance that represents the asynchronous create operation.