共用方式為


ConnectionFactory.CreateConnection(String) Method

Definition

Creates a connection.

public virtual Microsoft.Azure.ApiHub.Connection CreateConnection (string key);
abstract member CreateConnection : string -> Microsoft.Azure.ApiHub.Connection
override this.CreateConnection : string -> Microsoft.Azure.ApiHub.Connection
Public Overridable Function CreateConnection (key As String) As Connection

Parameters

key
String

The key of the configuration setting that specifies the connection string.

Returns

Microsoft.Azure.ApiHub.Connection

The connection created.

Applies to