Share via


LoggingFields.BeginStruct Method

Definition

Overloads

BeginStruct(String)

Begins a new structured field with the specified field name.

BeginStruct(String, Int32)

Begins a new structured field with the specified field name and tags.

BeginStruct(String)

Begins a new structured field with the specified field name.

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

Parameters

name
String

Platform::String

winrt::hstring

Name of the structured field.

Attributes

See also

Applies to

BeginStruct(String, Int32)

Begins a new structured field with the specified field name and tags.

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

Parameters

name
String

Platform::String

winrt::hstring

Name of the structured field.

tags
Int32

int

Specifies up to twenty-eight bits of user-defined field metadata. The top four bits are reserved and must be set to zero (0).The metadata may be used by a custom Event Tracing for Windows (ETW) processing tool. For example, you might define a tag that indicates that a field might contain personally-identifiable information.

Attributes

See also

Applies to