UserSecretsIdAttribute Class
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
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.
User |
Initializes an instance of UserSecretsIdAttribute. |
User |
Gets the user secrets ID. |
Product | Versions |
---|---|
.NET | 8 (package-provided), 9 (package-provided), 10 (package-provided) |
.NET Standard | 2.0 (package-provided) |
.NET feedback
.NET is an open source project. Select a link to provide feedback: