Share via


LoggingFields.AddEmpty Method

Definition

Overloads

AddEmpty(String, LoggingFieldFormat)

Adds an empty field.

AddEmpty(String, LoggingFieldFormat, Int32)

Adds an empty field.

AddEmpty(String)

Adds an empty field.

AddEmpty(String, LoggingFieldFormat)

Adds an empty field.

public:
 virtual void AddEmpty(Platform::String ^ name, LoggingFieldFormat format) = AddEmpty;
/// [Windows.Foundation.Metadata.Overload("AddEmptyWithFormat")]
void AddEmpty(winrt::hstring const& name, LoggingFieldFormat const& format);
[Windows.Foundation.Metadata.Overload("AddEmptyWithFormat")]
public void AddEmpty(string name, LoggingFieldFormat format);
function addEmpty(name, format)
Public Sub AddEmpty (name As String, format As LoggingFieldFormat)

Parameters

name
String

Platform::String

winrt::hstring

Name of 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

AddEmpty(String, LoggingFieldFormat, Int32)

Adds an empty field.

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

Parameters

name
String

Platform::String

winrt::hstring

Name of 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

AddEmpty(String)

Adds an empty field.

public:
 virtual void AddEmpty(Platform::String ^ name) = AddEmpty;
/// [Windows.Foundation.Metadata.Overload("AddEmpty")]
void AddEmpty(winrt::hstring const& name);
[Windows.Foundation.Metadata.Overload("AddEmpty")]
public void AddEmpty(string name);
function addEmpty(name)
Public Sub AddEmpty (name As String)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

Attributes

Remarks

An empty field has a name, optional format and tags, but no value.

See also

Applies to