Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
UserSecretsIdAttribute Class
Definition
- Assembly:
- Microsoft.Extensions.Configuration.UserSecrets.dll
- Package:
- Microsoft.Extensions.Configuration.UserSecrets v11.0.0-preview.5.26302.115
- Source:
- UserSecretsIdAttribute.cs
- Source:
- UserSecretsIdAttribute.cs
- Source:
- UserSecretsIdAttribute.cs
- Source:
- UserSecretsIdAttribute.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the user secrets ID.
public ref class UserSecretsIdAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)]
public class UserSecretsIdAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=false, Inherited=false)>]
type UserSecretsIdAttribute = class
inherit Attribute
Public Class UserSecretsIdAttribute
Inherits Attribute
- Inheritance
- Attributes
Remarks
In most cases, this attribute is automatically generated during compilation by MSBuild targets included in the UserSecrets NuGet package. These targets use the MSBuild property 'UserSecretsId' to set the value for UserSecretsId.
Constructors
| Name | Description |
|---|---|
| UserSecretsIdAttribute(String) |
Initializes an instance of UserSecretsIdAttribute. |
Properties
| Name | Description |
|---|---|
| UserSecretsId |
Gets the user secrets ID. |
Applies to
Feedback
Was this page helpful?
