Share via


LoggingFields.AddTimeSpanArray Method

Definition

Overloads

AddTimeSpanArray(String, TimeSpan[], LoggingFieldFormat, Int32)

Adds a time span array field with the specified field name, format, and tags.

AddTimeSpanArray(String, TimeSpan[], LoggingFieldFormat)

Adds a time span array field with the specified field name and format.

AddTimeSpanArray(String, TimeSpan[])

Adds a time span array field with the specified field name.

AddTimeSpanArray(String, TimeSpan[], LoggingFieldFormat, Int32)

Adds a time span array field with the specified field name, format, and tags.

public:
 virtual void AddTimeSpanArray(Platform::String ^ name, Platform::Array <TimeSpan> ^ value, LoggingFieldFormat format, int tags) = AddTimeSpanArray;
/// [Windows.Foundation.Metadata.Overload("AddTimeSpanArrayWithFormatAndTags")]
void AddTimeSpanArray(winrt::hstring const& name, winrt::array_view <TimeSpan> const& value, LoggingFieldFormat const& format, int const& tags);
[Windows.Foundation.Metadata.Overload("AddTimeSpanArrayWithFormatAndTags")]
public void AddTimeSpanArray(string name, TimeSpan[] value, LoggingFieldFormat format, int tags);
function addTimeSpanArray(name, value, format, tags)
Public Sub AddTimeSpanArray (name As String, value As TimeSpan(), format As LoggingFieldFormat, tags As Integer)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value

TimeSpan[]

TimeSpan[]

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

AddTimeSpanArray(String, TimeSpan[], LoggingFieldFormat)

Adds a time span array field with the specified field name and format.

public:
 virtual void AddTimeSpanArray(Platform::String ^ name, Platform::Array <TimeSpan> ^ value, LoggingFieldFormat format) = AddTimeSpanArray;
/// [Windows.Foundation.Metadata.Overload("AddTimeSpanArrayWithFormat")]
void AddTimeSpanArray(winrt::hstring const& name, winrt::array_view <TimeSpan> const& value, LoggingFieldFormat const& format);
[Windows.Foundation.Metadata.Overload("AddTimeSpanArrayWithFormat")]
public void AddTimeSpanArray(string name, TimeSpan[] value, LoggingFieldFormat format);
function addTimeSpanArray(name, value, format)
Public Sub AddTimeSpanArray (name As String, value As TimeSpan(), format As LoggingFieldFormat)

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value

TimeSpan[]

TimeSpan[]

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

AddTimeSpanArray(String, TimeSpan[])

Adds a time span array field with the specified field name.

public:
 virtual void AddTimeSpanArray(Platform::String ^ name, Platform::Array <TimeSpan> ^ value) = AddTimeSpanArray;
/// [Windows.Foundation.Metadata.Overload("AddTimeSpanArray")]
void AddTimeSpanArray(winrt::hstring const& name, winrt::array_view <TimeSpan> const& value);
[Windows.Foundation.Metadata.Overload("AddTimeSpanArray")]
public void AddTimeSpanArray(string name, TimeSpan[] value);
function addTimeSpanArray(name, value)
Public Sub AddTimeSpanArray (name As String, value As TimeSpan())

Parameters

name
String

Platform::String

winrt::hstring

Name of the event field.

value

TimeSpan[]

TimeSpan[]

The value for the event field.

Attributes

See also

Applies to