Dela via


LoggingFields.AddGuid Method

Definition

Overloads

AddGuid(String, Guid)

Adds a GUID field with the specified field name.

AddGuid(String, Guid, LoggingFieldFormat)

Adds a GUID field with the specified field name and format.

AddGuid(String, Guid, LoggingFieldFormat, Int32)

Adds a GUID field with the specified field name, format, and tags.

AddGuid(String, Guid)

Adds a GUID field with the specified field name.

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

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Guid

Platform::Guid

winrt::guid

Value of the event field.

Attributes

See also

Applies to

AddGuid(String, Guid, LoggingFieldFormat)

Adds a GUID field with the specified field name and format.

public:
 virtual void AddGuid(Platform::String ^ name, Platform::Guid value, LoggingFieldFormat format) = AddGuid;
/// [Windows.Foundation.Metadata.Overload("AddGuidWithFormat")]
void AddGuid(winrt::hstring const& name, winrt::guid const& value, LoggingFieldFormat const& format);
[Windows.Foundation.Metadata.Overload("AddGuidWithFormat")]
public void AddGuid(string name, Guid value, LoggingFieldFormat format);
function addGuid(name, value, format)
Public Sub AddGuid (name As String, value As Guid, format As LoggingFieldFormat)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Guid

Platform::Guid

winrt::guid

Value 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

AddGuid(String, Guid, LoggingFieldFormat, Int32)

Adds a GUID field with the specified field name, format, and tags.

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

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value
Guid

Platform::Guid

winrt::guid

Value 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