MessagingFactory.Create MessagingFactory.Create MessagingFactory.Create Method

Definition

Overloads

Create(Uri, TokenProvider) Create(Uri, TokenProvider)

Creates a new MessagingFactory object.

Create(Uri, MessagingFactorySettings) Create(Uri, MessagingFactorySettings) Create(Uri, MessagingFactorySettings)

Creates a new MessagingFactory object.

Create(String, TokenProvider) Create(String, TokenProvider)

Creates a new MessagingFactory object.

Create(String, MessagingFactorySettings) Create(String, MessagingFactorySettings) Create(String, MessagingFactorySettings)

Creates a new MessagingFactory object.

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

Creates a new MessagingFactory object.

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

Creates a new MessagingFactory object.

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

Creates a new MessagingFactory object.

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

Creates a new MessagingFactory object.

Create(Uri) Create(Uri) Create(Uri)

Creates a new MessagingFactory object.

Create(String) Create(String) Create(String)

Creates a new MessagingFactory object.

Create(IEnumerable<Uri>) Create(IEnumerable<Uri>) Create(IEnumerable<Uri>)

Creates a new MessagingFactory object.

Create(IEnumerable<String>) Create(IEnumerable<String>) Create(IEnumerable<String>)

Creates a new MessagingFactory object.

Create() Create() Create()

Creates a new messaging factory object.

Create(Uri, TokenProvider) Create(Uri, TokenProvider)

Creates a new MessagingFactory object.

public static Microsoft.ServiceBus.Messaging.MessagingFactory Create (Uri address, Microsoft.ServiceBus.TokenProvider tokenProvider);
static member Create : Uri * Microsoft.ServiceBus.TokenProvider -> Microsoft.ServiceBus.Messaging.MessagingFactory
Parameters
address
Uri Uri Uri

The base address of the namespace.

tokenProvider
TokenProvider TokenProvider TokenProvider

The token provider.

Returns
Exceptions

address contains a path appended to the full address of the service namespace.

Create(Uri, MessagingFactorySettings) Create(Uri, MessagingFactorySettings) Create(Uri, MessagingFactorySettings)

Creates a new MessagingFactory object.

public static Microsoft.ServiceBus.Messaging.MessagingFactory Create (Uri address, Microsoft.ServiceBus.Messaging.MessagingFactorySettings factorySettings);
static member Create : Uri * Microsoft.ServiceBus.Messaging.MessagingFactorySettings -> Microsoft.ServiceBus.Messaging.MessagingFactory
Public Shared Function Create (address As Uri, factorySettings As MessagingFactorySettings) As MessagingFactory
Parameters
address
Uri Uri Uri

The namespace base address.

Returns
Exceptions

address contains a path appended to the full address of the service namespace.

Create(String, TokenProvider) Create(String, TokenProvider)

Creates a new MessagingFactory object.

public static Microsoft.ServiceBus.Messaging.MessagingFactory Create (string address, Microsoft.ServiceBus.TokenProvider tokenProvider);
static member Create : string * Microsoft.ServiceBus.TokenProvider -> Microsoft.ServiceBus.Messaging.MessagingFactory
Parameters
address
String String String

The base address of the namespace.

tokenProvider
TokenProvider TokenProvider TokenProvider

The token provider.

Returns
Exceptions

address contains a path appended to the full address of the service namespace.

Create(String, MessagingFactorySettings) Create(String, MessagingFactorySettings) Create(String, MessagingFactorySettings)

Creates a new MessagingFactory object.

public static Microsoft.ServiceBus.Messaging.MessagingFactory Create (string address, Microsoft.ServiceBus.Messaging.MessagingFactorySettings factorySettings);
static member Create : string * Microsoft.ServiceBus.Messaging.MessagingFactorySettings -> Microsoft.ServiceBus.Messaging.MessagingFactory
Public Shared Function Create (address As String, factorySettings As MessagingFactorySettings) As MessagingFactory
Parameters
address
String String String

The base address of the service namespace.

Returns
Exceptions

address contains a path appended to the full address of the service namespace.

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

Creates a new MessagingFactory object.

public static Microsoft.ServiceBus.Messaging.MessagingFactory Create (System.Collections.Generic.IEnumerable<Uri> addresses, Microsoft.ServiceBus.TokenProvider tokenProvider);
static member Create : seq<Uri> * Microsoft.ServiceBus.TokenProvider -> Microsoft.ServiceBus.Messaging.MessagingFactory
Parameters
addresses
IEnumerable<Uri>

An enumeration of address.

tokenProvider
TokenProvider TokenProvider TokenProvider

The token provider.

Returns

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

Creates a new MessagingFactory object.

public static Microsoft.ServiceBus.Messaging.MessagingFactory Create (System.Collections.Generic.IEnumerable<Uri> addresses, Microsoft.ServiceBus.Messaging.MessagingFactorySettings factorySettings);
static member Create : seq<Uri> * Microsoft.ServiceBus.Messaging.MessagingFactorySettings -> Microsoft.ServiceBus.Messaging.MessagingFactory
Public Shared Function Create (addresses As IEnumerable(Of Uri), factorySettings As MessagingFactorySettings) As MessagingFactory
Parameters
addresses
IEnumerable<Uri>

An enumeration of address.

Returns

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

Creates a new MessagingFactory object.

public static Microsoft.ServiceBus.Messaging.MessagingFactory Create (System.Collections.Generic.IEnumerable<string> addresses, Microsoft.ServiceBus.TokenProvider tokenProvider);
static member Create : seq<string> * Microsoft.ServiceBus.TokenProvider -> Microsoft.ServiceBus.Messaging.MessagingFactory
Parameters
addresses
IEnumerable<String>

An enumeration of base addresses.

tokenProvider
TokenProvider TokenProvider TokenProvider

The token provider.

Returns

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

Creates a new MessagingFactory object.

public static Microsoft.ServiceBus.Messaging.MessagingFactory Create (System.Collections.Generic.IEnumerable<string> addresses, Microsoft.ServiceBus.Messaging.MessagingFactorySettings factorySettings);
static member Create : seq<string> * Microsoft.ServiceBus.Messaging.MessagingFactorySettings -> Microsoft.ServiceBus.Messaging.MessagingFactory
Public Shared Function Create (addresses As IEnumerable(Of String), factorySettings As MessagingFactorySettings) As MessagingFactory
Parameters
addresses
IEnumerable<String>

An enumeration of base addresses.

Returns

Create(Uri) Create(Uri) Create(Uri)

Creates a new MessagingFactory object.

public static Microsoft.ServiceBus.Messaging.MessagingFactory Create (Uri address);
static member Create : Uri -> Microsoft.ServiceBus.Messaging.MessagingFactory
Public Shared Function Create (address As Uri) As MessagingFactory
Parameters
address
Uri Uri Uri

The namespace base address.

Returns

Create(String) Create(String) Create(String)

Creates a new MessagingFactory object.

public static Microsoft.ServiceBus.Messaging.MessagingFactory Create (string address);
static member Create : string -> Microsoft.ServiceBus.Messaging.MessagingFactory
Public Shared Function Create (address As String) As MessagingFactory
Parameters
address
String String String

The base address of the service namespace.

Returns

Create(IEnumerable<Uri>) Create(IEnumerable<Uri>) Create(IEnumerable<Uri>)

Creates a new MessagingFactory object.

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

An enumeration of address.

Returns

Create(IEnumerable<String>) Create(IEnumerable<String>) Create(IEnumerable<String>)

Creates a new MessagingFactory object.

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

An enumeration of base addresses.

Returns

Create() Create() Create()

Creates a new messaging factory object.

public static Microsoft.ServiceBus.Messaging.MessagingFactory Create ();
static member Create : unit -> Microsoft.ServiceBus.Messaging.MessagingFactory
Public Shared Function Create () As MessagingFactory
Returns

Applies to