共用方式為


SecretProperties Constructors

Definition

Overloads

SecretProperties(String)

Initializes a new instance of the SecretProperties class.

SecretProperties(Uri)

Initializes a new instance of the SecretProperties class.

SecretProperties(String)

Source:
SecretProperties.cs
Source:
SecretProperties.cs

Initializes a new instance of the SecretProperties class.

public SecretProperties (string name);
new Azure.Security.KeyVault.Secrets.SecretProperties : string -> Azure.Security.KeyVault.Secrets.SecretProperties
Public Sub New (name As String)

Parameters

name
String

The name of the secret.

Exceptions

name is an empty string.

name is null.

Applies to

SecretProperties(Uri)

Source:
SecretProperties.cs
Source:
SecretProperties.cs

Initializes a new instance of the SecretProperties class.

public SecretProperties (Uri id);
new Azure.Security.KeyVault.Secrets.SecretProperties : Uri -> Azure.Security.KeyVault.Secrets.SecretProperties
Public Sub New (id As Uri)

Parameters

id
Uri

The identifier of the secret.

Exceptions

id is null.

Applies to