TagProviderAttribute Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Définit une méthode à appeler pour générer des balises de journalisation pour un objet référencé.
public ref class TagProviderAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property)]
[System.Diagnostics.Conditional("CODE_GENERATION_ATTRIBUTES")]
public sealed class TagProviderAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter | System.AttributeTargets.Property)>]
[<System.Diagnostics.Conditional("CODE_GENERATION_ATTRIBUTES")>]
type TagProviderAttribute = class
inherit Attribute
Public NotInheritable Class TagProviderAttribute
Inherits Attribute
- Héritage
- Attributs
Constructeurs
| Nom | Description |
|---|---|
| TagProviderAttribute(Type, String) |
Initialise une nouvelle instance de la TagProviderAttribute classe avec un fournisseur de balises personnalisées. |
Propriétés
| Nom | Description |
|---|---|
| OmitReferenceName |
Obtient ou définit une valeur indiquant s’il faut préfixer le nom du paramètre ou de la propriété au nom généré de chaque balise enregistrée. |
| ProviderMethod |
Obtient le nom de la méthode qui fournit des balises à journaliser. |
| ProviderType |
Obtient la Type méthode contenant les balises à journaliser. |