MessagingFactory.Create Method (IEnumerable<String>, TokenProvider)

 

Creates a new MessagingFactory object.

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

public static MessagingFactory Create(
	IEnumerable<string> addresses,
	TokenProvider tokenProvider
)

Parameters

addresses
Type: System.Collections.Generic.IEnumerable<String>

An enumeration of base addresses.

tokenProvider
Type: Microsoft.ServiceBus.TokenProvider

The token provider.

Return Value

Type: Microsoft.ServiceBus.Messaging.MessagingFactory

The newly created MessagingFactory object.

Return to top
Show: