Compartilhar via


LoggingChannel.LogValuePair Método

Definição

Sobrecargas

LogValuePair(String, Int32)

Registra dados no LoggingChannel atual.

LogValuePair(String, Int32, LoggingLevel)

Registra dados no LoggingChannel atual com o LoggingLevel especificado.

LogValuePair(String, Int32)

Registra dados no LoggingChannel atual.

public:
 virtual void LogValuePair(Platform::String ^ value1, int value2) = LogValuePair;
/// [Windows.Foundation.Metadata.Overload("LogValuePair")]
void LogValuePair(winrt::hstring const& value1, int const& value2);
[Windows.Foundation.Metadata.Overload("LogValuePair")]
public void LogValuePair(string value1, int value2);
function logValuePair(value1, value2)
Public Sub LogValuePair (value1 As String, value2 As Integer)

Parâmetros

value1
String

Platform::String

winrt::hstring

A cadeia de caracteres a ser associada ao valor2.

value2
Int32

int

O valor a ser associado a value1.

Implementações

M:Windows.Foundation.Diagnostics.ILoggingChannel.LogValuePair(System.String,System.Int32) M:Windows.Foundation.Diagnostics.ILoggingChannel.LogValuePair(Platform::String,int) M:Windows.Foundation.Diagnostics.ILoggingChannel.LogValuePair(winrt::hstring,int)
Atributos

Comentários

Chame o método LogValuePair para registrar dados como um par chave-valor para o LoggingChannel atual.

Confira também

Aplica-se a

LogValuePair(String, Int32, LoggingLevel)

Registra dados no LoggingChannel atual com o LoggingLevel especificado.

public:
 virtual void LogValuePair(Platform::String ^ value1, int value2, LoggingLevel level) = LogValuePair;
/// [Windows.Foundation.Metadata.Overload("LogValuePairWithLevel")]
void LogValuePair(winrt::hstring const& value1, int const& value2, LoggingLevel const& level);
[Windows.Foundation.Metadata.Overload("LogValuePairWithLevel")]
public void LogValuePair(string value1, int value2, LoggingLevel level);
function logValuePair(value1, value2, level)
Public Sub LogValuePair (value1 As String, value2 As Integer, level As LoggingLevel)

Parâmetros

value1
String

Platform::String

winrt::hstring

A cadeia de caracteres a ser associada ao valor2.

value2
Int32

int

O valor a ser associado a value1.

level
LoggingLevel

O nível de registro em log.

Implementações

M:Windows.Foundation.Diagnostics.ILoggingChannel.LogValuePair(System.String,System.Int32,Windows.Foundation.Diagnostics.LoggingLevel) M:Windows.Foundation.Diagnostics.ILoggingChannel.LogValuePair(Platform::String,int,Windows.Foundation.Diagnostics.LoggingLevel) M:Windows.Foundation.Diagnostics.ILoggingChannel.LogValuePair(winrt::hstring,int,Windows.Foundation.Diagnostics.LoggingLevel)
Atributos

Confira também

Aplica-se a