共用方式為


ServiceBusConnectionStringBuilder.CreateUsingSharedSecret Method

Definition

Overloads

CreateUsingSharedSecret(Uri, String, String)

Creates a connection string using the shared secret credentials.

CreateUsingSharedSecret(IEnumerable<Uri>, IEnumerable<Uri>, Int32, Int32, String, String)

Creates a connection string using the shared secret credentials.

CreateUsingSharedSecret(Uri, String, String)

Creates a connection string using the shared secret credentials.

public static string CreateUsingSharedSecret (Uri endpoint, string issuer, string issuerSecret);
static member CreateUsingSharedSecret : Uri * string * string -> string
Public Shared Function CreateUsingSharedSecret (endpoint As Uri, issuer As String, issuerSecret As String) As String

Parameters

endpoint
Uri

The endpoint.

issuer
String

The issuer

issuerSecret
String

The issuer secret.

Returns

The created connection using the shared secret credentials.

Applies to

CreateUsingSharedSecret(IEnumerable<Uri>, IEnumerable<Uri>, Int32, Int32, String, String)

Creates a connection string using the shared secret credentials.

public static string CreateUsingSharedSecret (System.Collections.Generic.IEnumerable<Uri> endpoints, System.Collections.Generic.IEnumerable<Uri> stsEndpoints, int runtimePort, int managementPort, string issuer, string issuerSecret);
static member CreateUsingSharedSecret : seq<Uri> * seq<Uri> * int * int * string * string -> string
Public Shared Function CreateUsingSharedSecret (endpoints As IEnumerable(Of Uri), stsEndpoints As IEnumerable(Of Uri), runtimePort As Integer, managementPort As Integer, issuer As String, issuerSecret As String) As String

Parameters

endpoints
IEnumerable<Uri>

The endpoints.

stsEndpoints
IEnumerable<Uri>

The set of security token service endpoints.

runtimePort
Int32

The runtime port.

managementPort
Int32

The management port.

issuer
String

The issuer.

issuerSecret
String

The issuer secret.

Returns

The created connection using the shared secret credentials.

Applies to