Condividi tramite


LoggingChannel.LogValuePair Metodo

Definizione

Overload

LogValuePair(String, Int32)

Registra i dati nell'oggetto LoggingChannel corrente.

LogValuePair(String, Int32, LoggingLevel)

Registra i dati nell'oggetto LoggingChannel corrente con l'oggetto LoggingLevel specificato.

LogValuePair(String, Int32)

Registra i dati nell'oggetto LoggingChannel corrente.

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)

Parametri

value1
String

Platform::String

winrt::hstring

Stringa da associare a value2.

value2
Int32

int

Valore da associare al valore1.

Implementazioni

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)
Attributi

Commenti

Chiamare il metodo LogValuePair per registrare i dati come coppia chiave-valore all'oggetto LoggingChannel corrente.

Vedi anche

Si applica a

LogValuePair(String, Int32, LoggingLevel)

Registra i dati nell'oggetto LoggingChannel corrente con l'oggetto LoggingLevel specificato.

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)

Parametri

value1
String

Platform::String

winrt::hstring

Stringa da associare a value2.

value2
Int32

int

Valore da associare al valore1.

level
LoggingLevel

Livello di registrazione.

Implementazioni

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)
Attributi

Vedi anche

Si applica a