MessagingFactory.CreateAsync MessagingFactory.CreateAsync MessagingFactory.CreateAsync Method

Definition

Overloads

CreateAsync(Uri, TokenProvider) CreateAsync(Uri, TokenProvider)

Asynchronously creates a new messaging factory object.

CreateAsync(Uri, MessagingFactorySettings) CreateAsync(Uri, MessagingFactorySettings) CreateAsync(Uri, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

CreateAsync(String, TokenProvider) CreateAsync(String, TokenProvider)

Asynchronously creates a new messaging factory object.

CreateAsync(String, MessagingFactorySettings) CreateAsync(String, MessagingFactorySettings) CreateAsync(String, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<Uri>, TokenProvider) CreateAsync(IEnumerable<Uri>, TokenProvider)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<Uri>, MessagingFactorySettings) CreateAsync(IEnumerable<Uri>, MessagingFactorySettings) CreateAsync(IEnumerable<Uri>, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<String>) CreateAsync(IEnumerable<String>) CreateAsync(IEnumerable<String>)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<String>, MessagingFactorySettings) CreateAsync(IEnumerable<String>, MessagingFactorySettings) CreateAsync(IEnumerable<String>, MessagingFactorySettings)

Asynchronously creates a new messaging factory object.

CreateAsync(Uri) CreateAsync(Uri) CreateAsync(Uri)

Asynchronously creates a new messaging factory object.

CreateAsync(String) CreateAsync(String) CreateAsync(String)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<Uri>) CreateAsync(IEnumerable<Uri>) CreateAsync(IEnumerable<Uri>)

Asynchronously creates a new messaging factory object.

CreateAsync(IEnumerable<String>, TokenProvider) CreateAsync(IEnumerable<String>, TokenProvider)

Asynchronously creates a new messaging factory object.

CreateAsync(Uri, TokenProvider) 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>
Parameters
address
Uri Uri Uri

The namespace base address.

tokenProvider
TokenProvider TokenProvider TokenProvider

The token provider.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(Uri, MessagingFactorySettings) CreateAsync(Uri, MessagingFactorySettings) 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 Uri Uri

The namespace base address.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(String, TokenProvider) 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>
Parameters
address
String String String

The base address of the service namespace.

tokenProvider
TokenProvider TokenProvider TokenProvider

The token provider.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(String, MessagingFactorySettings) CreateAsync(String, MessagingFactorySettings) 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 String String

The base address of the service namespace.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(IEnumerable<Uri>, TokenProvider) 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>
Parameters
addresses
IEnumerable<Uri>

An enumeration of address.

tokenProvider
TokenProvider TokenProvider TokenProvider

The token provider.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(IEnumerable<Uri>, MessagingFactorySettings) CreateAsync(IEnumerable<Uri>, MessagingFactorySettings) 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.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(IEnumerable<String>) CreateAsync(IEnumerable<String>) 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.

CreateAsync(IEnumerable<String>, MessagingFactorySettings) CreateAsync(IEnumerable<String>, MessagingFactorySettings) 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.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(Uri) CreateAsync(Uri) 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 Uri Uri

The namespace base address.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(String) CreateAsync(String) 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 String String

The base address of the service namespace.

Returns

A task instance that represents the asynchronous create operation.

CreateAsync(IEnumerable<Uri>) CreateAsync(IEnumerable<Uri>) 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.

CreateAsync(IEnumerable<String>, TokenProvider) 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>
Parameters
addresses
IEnumerable<String>

An enumeration of base addresses.

tokenProvider
TokenProvider TokenProvider TokenProvider

The token provider.

Returns

A task instance that represents the asynchronous create operation.

Applies to