Udostępnij za pośrednictwem


RelayConnectionStringBuilder Constructors

Definition

Overloads

RelayConnectionStringBuilder()

Initializes a new instance of the RelayConnectionStringBuilder class.

RelayConnectionStringBuilder(String)

Initializes a new instance of a RelayConnectionStringBuilder with a specified existing connection string.

RelayConnectionStringBuilder()

Initializes a new instance of the RelayConnectionStringBuilder class.

public RelayConnectionStringBuilder ();
Public Sub New ()

Applies to

RelayConnectionStringBuilder(String)

Initializes a new instance of a RelayConnectionStringBuilder with a specified existing connection string.

public RelayConnectionStringBuilder (string connectionString);
new Microsoft.Azure.Relay.RelayConnectionStringBuilder : string -> Microsoft.Azure.Relay.RelayConnectionStringBuilder
Public Sub New (connectionString As String)

Parameters

connectionString
String

The connection string, which can be obtained from the Azure Management Portal.

Exceptions

Thrown if connectionString is null or empty.

Thrown if a key value pair is missing either a key or a value. Thrown if Endpoint is specified but is not a valid absolute Uri. Thrown if OperationTimeout is specified but is not a valid TimeSpan format. Thrown if an unsupported key name is specified.

Applies to