TagProviderAttribute Classe

Definição

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
TagProviderAttribute
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.

Aplica-se a

Confira também