Dela via


LoggingFields.AddUInt8 Method

Definition

Overloads

AddUInt8(String, Byte)

Adds an 8-bit unsigned integer field with the specified field name.

AddUInt8(String, Byte, LoggingFieldFormat)

Adds an 8-bit unsigned integer field with the specified field name and format.

AddUInt8(String, Byte, LoggingFieldFormat, Int32)

Adds an 8-bit unsigned integer field with the specified field name, format, and tags.

AddUInt8(String, Byte)

Adds an 8-bit unsigned integer field with the specified field name.

public:
 virtual void AddUInt8(Platform::String ^ name, byte value) = AddUInt8;
/// [Windows.Foundation.Metadata.Overload("AddUInt8")]
void AddUInt8(winrt::hstring const& name, byte const& value);
[Windows.Foundation.Metadata.Overload("AddUInt8")]
public void AddUInt8(string name, byte value);
function addUInt8(name, value)
Public Sub AddUInt8 (name As String, value As Byte)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Byte

byte

The value for the event field.

Attributes

See also

Applies to

AddUInt8(String, Byte, LoggingFieldFormat)

Adds an 8-bit unsigned integer field with the specified field name and format.

public:
 virtual void AddUInt8(Platform::String ^ name, byte value, LoggingFieldFormat format) = AddUInt8;
/// [Windows.Foundation.Metadata.Overload("AddUInt8WithFormat")]
void AddUInt8(winrt::hstring const& name, byte const& value, LoggingFieldFormat const& format);
[Windows.Foundation.Metadata.Overload("AddUInt8WithFormat")]
public void AddUInt8(string name, byte value, LoggingFieldFormat format);
function addUInt8(name, value, format)
Public Sub AddUInt8 (name As String, value As Byte, format As LoggingFieldFormat)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Byte

byte

The value for the event field.

format
LoggingFieldFormat

The format of the event field. Specifies an optional formatting hint that may be used by Event Tracing for Windows (ETW) tools.

Attributes

See also

Applies to

AddUInt8(String, Byte, LoggingFieldFormat, Int32)

Adds an 8-bit unsigned integer field with the specified field name, format, and tags.

public:
 virtual void AddUInt8(Platform::String ^ name, byte value, LoggingFieldFormat format, int tags) = AddUInt8;
/// [Windows.Foundation.Metadata.Overload("AddUInt8WithFormatAndTags")]
void AddUInt8(winrt::hstring const& name, byte const& value, LoggingFieldFormat const& format, int const& tags);
[Windows.Foundation.Metadata.Overload("AddUInt8WithFormatAndTags")]
public void AddUInt8(string name, byte value, LoggingFieldFormat format, int tags);
function addUInt8(name, value, format, tags)
Public Sub AddUInt8 (name As String, value As Byte, format As LoggingFieldFormat, tags As Integer)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Byte

byte

The value for the event field.

format
LoggingFieldFormat

The format of the event field. Specifies an optional formatting hint that may be used by Event Tracing for Windows (ETW) tools.

tags
Int32

int

The user-defined tag for the event field. Specifies up to twenty-eight bits of user-defined field processing metadata for use by a custom ETW processing tool. The top four bits are reserved and must be set to zero (0).

Attributes

See also

Applies to