Compartilhar via


TraceSection.PageOutput Propriedade

Definição

Obtém ou define um valor que indica se as informações de rastreamento do ASP.NET são anexadas à saída de cada página.

public:
 property bool PageOutput { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("pageOutput", DefaultValue=false)]
public bool PageOutput { get; set; }
[<System.Configuration.ConfigurationProperty("pageOutput", DefaultValue=false)>]
member this.PageOutput : bool with get, set
Public Property PageOutput As Boolean

Valor da propriedade

true se as informações de rastreamento forem acrescentadas a cada página; caso contrário, false. O padrão é false.

Atributos

Exemplos

O exemplo de código a seguir mostra como usar a PageOutput propriedade . Este exemplo de código faz parte de um exemplo maior fornecido para a TraceSection classe .


// Get the current PageOutput property value.
Boolean pageOutputValue = traceSection.PageOutput;

// Set the PageOutput property to true.
traceSection.PageOutput = true;

' Get the current PageOutput property value.
Dim pageOutputValue As Boolean = traceSection.PageOutput

' Set the PageOutput property to true.
traceSection.PageOutput = True

Aplica-se a