Bagikan melalui


SharedAccessSignatureToken Constructors

Definition

Overloads

SharedAccessSignatureToken(String)

Initializes a new instance of the SharedAccessSignatureToken class with specified token string.

SharedAccessSignatureToken(String, DateTime)

Initializes a new instance of the SharedAccessSignatureToken class with specified token string and expiry.

SharedAccessSignatureToken(String, String)

Initializes a new instance of the SharedAccessSignatureToken class with specified identifier and token string.

SharedAccessSignatureToken(String, DateTime, String)

Initializes a new instance of the SharedAccessSignatureToken class with specified token string, expiry and audience.

SharedAccessSignatureToken(String)

Initializes a new instance of the SharedAccessSignatureToken class with specified token string.

public SharedAccessSignatureToken (string tokenString);
new Microsoft.ServiceBus.SharedAccessSignatureToken : string -> Microsoft.ServiceBus.SharedAccessSignatureToken
Public Sub New (tokenString As String)

Parameters

tokenString
String

The token string.

Applies to

SharedAccessSignatureToken(String, DateTime)

Initializes a new instance of the SharedAccessSignatureToken class with specified token string and expiry.

public SharedAccessSignatureToken (string tokenString, DateTime expiry);
new Microsoft.ServiceBus.SharedAccessSignatureToken : string * DateTime -> Microsoft.ServiceBus.SharedAccessSignatureToken
Public Sub New (tokenString As String, expiry As DateTime)

Parameters

tokenString
String

The token string.

expiry
DateTime

The token expiry.

Applies to

SharedAccessSignatureToken(String, String)

Initializes a new instance of the SharedAccessSignatureToken class with specified identifier and token string.

public SharedAccessSignatureToken (string id, string tokenString);
new Microsoft.ServiceBus.SharedAccessSignatureToken : string * string -> Microsoft.ServiceBus.SharedAccessSignatureToken
Public Sub New (id As String, tokenString As String)

Parameters

id
String

The token identifier.

tokenString
String

The token string.

Applies to

SharedAccessSignatureToken(String, DateTime, String)

Initializes a new instance of the SharedAccessSignatureToken class with specified token string, expiry and audience.

public SharedAccessSignatureToken (string tokenString, DateTime expiry, string audience);
new Microsoft.ServiceBus.SharedAccessSignatureToken : string * DateTime * string -> Microsoft.ServiceBus.SharedAccessSignatureToken
Public Sub New (tokenString As String, expiry As DateTime, audience As String)

Parameters

tokenString
String

The token string.

expiry
DateTime

The token expiry.

audience
String

The token audience.

Applies to