TagProviderAttribute Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Define um método a ser invocado para gerar marcas de log para um objeto referenciado.
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
- Herança
- Atributos
Construtores
| Nome | Description |
|---|---|
| TagProviderAttribute(Type, String) |
Inicializa uma nova instância da classe com o TagProviderAttribute provedor de marcas personalizadas. |
Propriedades
| Nome | Description |
|---|---|
| OmitReferenceName |
Obtém ou define um valor que indica se o nome do parâmetro ou da propriedade deve ser prefixado no nome gerado de cada marca que está sendo registrada. |
| ProviderMethod |
Obtém o nome do método que fornece marcas a serem registradas. |
| ProviderType |
Obtém o Type método que contém o método que fornece marcas a serem registradas. |