UserSecretsIdAttribute Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Představuje ID tajných kódů uživatele.
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
- Dědičnost
- Atributy
Poznámky
Ve většině případů se tento atribut automaticky generuje během kompilace cíli MSBuild zahrnuté v balíčku NuGet UserSecrets. Tyto cíle používají vlastnost MSBuild UserSecretsId k nastavení hodnoty pro UserSecretsId.
Konstruktory
| Name | Description |
|---|---|
| UserSecretsIdAttribute(String) |
Inicializuje instanci .UserSecretsIdAttribute |
Vlastnosti
| Name | Description |
|---|---|
| UserSecretsId |
Získá ID tajných kódů uživatele. |