Share via


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);
static member CreateAsync : Uri * Microsoft.ServiceBus.TokenProvider -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (address As Uri, tokenProvider As TokenProvider) As Task(Of MessagingFactory)

Parameters

address
Uri

The namespace base address.

tokenProvider
TokenProvider

The token provider.

Returns

A task instance that represents the asynchronous create operation.

Applies to

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);
static member CreateAsync : Uri * Microsoft.ServiceBus.Messaging.MessagingFactorySettings -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (address As Uri, factorySettings As MessagingFactorySettings) As Task(Of MessagingFactory)

Parameters

address
Uri

The namespace base address.

factorySettings
MessagingFactorySettings

The MessagingFactory settings.

Returns

A task instance that represents the asynchronous create operation.

Applies to

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);
static member CreateAsync : string * Microsoft.ServiceBus.TokenProvider -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (address As String, tokenProvider As TokenProvider) As Task(Of MessagingFactory)

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.

Applies to

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);
static member CreateAsync : string * Microsoft.ServiceBus.Messaging.MessagingFactorySettings -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (address As String, factorySettings As MessagingFactorySettings) As Task(Of MessagingFactory)

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.

Applies to

CreateAsync(IEnumerable<Uri>, 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);
static member CreateAsync : seq<Uri> * Microsoft.ServiceBus.TokenProvider -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (addresses As IEnumerable(Of Uri), tokenProvider As TokenProvider) As Task(Of MessagingFactory)

Parameters

addresses
IEnumerable<Uri>

An enumeration of address.

tokenProvider
TokenProvider

The token provider.

Returns

A task instance that represents the asynchronous create operation.

Applies to

CreateAsync(IEnumerable<Uri>, 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);
static member CreateAsync : seq<Uri> * Microsoft.ServiceBus.Messaging.MessagingFactorySettings -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (addresses As IEnumerable(Of Uri), factorySettings As MessagingFactorySettings) As Task(Of MessagingFactory)

Parameters

addresses
IEnumerable<Uri>

An enumeration of address.

factorySettings
MessagingFactorySettings

The MessagingFactory settings.

Returns

A task instance that represents the asynchronous create operation.

Applies to

CreateAsync(IEnumerable<String>)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (System.Collections.Generic.IEnumerable<string> addresses);
static member CreateAsync : seq<string> -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (addresses As IEnumerable(Of String)) As Task(Of MessagingFactory)

Parameters

addresses
IEnumerable<String>

An enumeration of base addresses.

Returns

A task instance that represents the asynchronous create operation.

Applies to

CreateAsync(IEnumerable<String>, 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);
static member CreateAsync : seq<string> * Microsoft.ServiceBus.Messaging.MessagingFactorySettings -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (addresses As IEnumerable(Of String), factorySettings As MessagingFactorySettings) As Task(Of MessagingFactory)

Parameters

addresses
IEnumerable<String>

An enumeration of base addresses.

factorySettings
MessagingFactorySettings

The MessagingFactory settings.

Returns

A task instance that represents the asynchronous create operation.

Applies to

CreateAsync(Uri)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (Uri address);
static member CreateAsync : Uri -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (address As Uri) As Task(Of MessagingFactory)

Parameters

address
Uri

The namespace base address.

Returns

A task instance that represents the asynchronous create operation.

Applies to

CreateAsync(String)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (string address);
static member CreateAsync : string -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (address As String) As Task(Of MessagingFactory)

Parameters

address
String

The base address of the service namespace.

Returns

A task instance that represents the asynchronous create operation.

Applies to

CreateAsync(IEnumerable<Uri>)

Asynchronously creates a new messaging factory object.

public static System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory> CreateAsync (System.Collections.Generic.IEnumerable<Uri> addresses);
static member CreateAsync : seq<Uri> -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (addresses As IEnumerable(Of Uri)) As Task(Of MessagingFactory)

Parameters

addresses
IEnumerable<Uri>

An enumeration of address.

Returns

A task instance that represents the asynchronous create operation.

Applies to

CreateAsync(IEnumerable<String>, 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);
static member CreateAsync : seq<string> * Microsoft.ServiceBus.TokenProvider -> System.Threading.Tasks.Task<Microsoft.ServiceBus.Messaging.MessagingFactory>
Public Shared Function CreateAsync (addresses As IEnumerable(Of String), tokenProvider As TokenProvider) As Task(Of MessagingFactory)

Parameters

addresses
IEnumerable<String>

An enumeration of base addresses.

tokenProvider
TokenProvider

The token provider.

Returns

A task instance that represents the asynchronous create operation.

Applies to