TraceSection.PageOutput Propiedad

Definición

Obtiene o establece un valor que indica si la información de seguimiento de ASP.NET se anexa al resultado 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 de propiedad

true si la información de seguimiento se anexa a cada página; de lo contrario, false. De manera predeterminada, es false.

Atributos

Ejemplos

En el ejemplo de código siguiente se muestra cómo utilizar la propiedad PageOutput. Este ejemplo de código es parte de un ejemplo mayor proporcionado para la clase TraceSection.


// 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

Se aplica a