Compartir a través de


LoggingChannel Constructores

Definición

Sobrecargas

LoggingChannel(String)

Este constructor crea un LoggingChannel en Windows 8.1 modo de compatibilidad.

LoggingChannel(String, LoggingChannelOptions)

Inicializa una nueva instancia de la clase LoggingChannel con las opciones especificadas.

LoggingChannel(String, LoggingChannelOptions, Guid)

Inicializa una nueva instancia de la clase LoggingChannel con las opciones y el identificador de canal especificados.

LoggingChannel(String)

Este constructor crea un LoggingChannel en Windows 8.1 modo de compatibilidad.

public:
 LoggingChannel(Platform::String ^ name);
/// [Windows.Foundation.Metadata.Deprecated("This constructor creates a LoggingChannel in Windows 8.1 compatibility mode. Prefer the two-parameter constructor.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
 LoggingChannel(winrt::hstring const& name);
/// [Windows.Foundation.Metadata.Deprecated("This constructor creates a LoggingChannel in Windows 8.1 compatibility mode. Prefer the two-parameter constructor.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
 LoggingChannel(winrt::hstring const& name);
[Windows.Foundation.Metadata.Deprecated("This constructor creates a LoggingChannel in Windows 8.1 compatibility mode. Prefer the two-parameter constructor.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
public LoggingChannel(string name);
[Windows.Foundation.Metadata.Deprecated("This constructor creates a LoggingChannel in Windows 8.1 compatibility mode. Prefer the two-parameter constructor.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public LoggingChannel(string name);
function LoggingChannel(name)
Public Sub New (name As String)

Parámetros

name
String

Platform::String

winrt::hstring

Nombre del canal de registro.

Atributos

Comentarios

Este constructor crea un LoggingChannel en Windows 8.1 modo de compatibilidad. Para obtener una descripción de las diferencias entre Windows 8.1 modo de compatibilidad y el nuevo comportamiento admitido por Windows 10, consulta LoggingChannel.

Windows 10 Este constructor solo debe usarse si necesita compatibilidad con Windows 8.1. Para Windows 10 y versiones posteriores, use LoggingChannel(String, LoggingChannelOptions) o LoggingChannel(String, LoggingChannelOptions, Guid).

Consulte también

Se aplica a

LoggingChannel(String, LoggingChannelOptions)

Inicializa una nueva instancia de la clase LoggingChannel con las opciones especificadas.

public:
 LoggingChannel(Platform::String ^ name, LoggingChannelOptions ^ options);
 LoggingChannel(winrt::hstring const& name, LoggingChannelOptions const& options);
public LoggingChannel(string name, LoggingChannelOptions options);
function LoggingChannel(name, options)
Public Sub New (name As String, options As LoggingChannelOptions)

Parámetros

name
String

Platform::String

winrt::hstring

Nombre del canal de registro.

options
LoggingChannelOptions

Opciones del canal. Pase null para especificar las opciones predeterminadas.

Consulte también

Se aplica a

LoggingChannel(String, LoggingChannelOptions, Guid)

Inicializa una nueva instancia de la clase LoggingChannel con las opciones y el identificador de canal especificados.

public:
 LoggingChannel(Platform::String ^ name, LoggingChannelOptions ^ options, Platform::Guid id);
 LoggingChannel(winrt::hstring const& name, LoggingChannelOptions const& options, winrt::guid const& id);
public LoggingChannel(string name, LoggingChannelOptions options, Guid id);
function LoggingChannel(name, options, id)
Public Sub New (name As String, options As LoggingChannelOptions, id As Guid)

Parámetros

name
String

Platform::String

winrt::hstring

Nombre del canal de registro.

options
LoggingChannelOptions

Opciones del canal. Pase null para especificar las opciones predeterminadas.

id
Guid

Platform::Guid

winrt::guid

Identificador de canal que se va a usar en lugar del identificador generado automáticamente.

Consulte también

Se aplica a