共用方式為


MessagingFactory.CreateFromConnectionString(String) Method

Definition

Creates a new MessagingFactory object from a connection string.

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

Parameters

connectionString
String

The connection string.

Returns

The newly created MessagingFactory object.

Applies to