共用方式為


TelemetryEvent.GetDefaultEventProperties(Int64, Int64, String) Method

Definition

Returns default properties that should be on each TelemetryEvent

protected:
 virtual System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ GetDefaultEventProperties(long eventTime, long processStartTime, System::String ^ sessionId);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Telemetry.TelemetryEvent+<GetDefaultEventProperties>d__57))]
protected virtual System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> GetDefaultEventProperties (long eventTime, long processStartTime, string sessionId);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Telemetry.TelemetryEvent+<GetDefaultEventProperties>d__55))]
protected virtual System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>> GetDefaultEventProperties (long eventTime, long processStartTime, string sessionId);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Telemetry.TelemetryEvent+<GetDefaultEventProperties>d__57))>]
abstract member GetDefaultEventProperties : int64 * int64 * string -> seq<System.Collections.Generic.KeyValuePair<string, obj>>
override this.GetDefaultEventProperties : int64 * int64 * string -> seq<System.Collections.Generic.KeyValuePair<string, obj>>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Telemetry.TelemetryEvent+<GetDefaultEventProperties>d__55))>]
abstract member GetDefaultEventProperties : int64 * int64 * string -> seq<System.Collections.Generic.KeyValuePair<string, obj>>
override this.GetDefaultEventProperties : int64 * int64 * string -> seq<System.Collections.Generic.KeyValuePair<string, obj>>
Protected Iterator Overridable Function GetDefaultEventProperties (eventTime As Long, processStartTime As Long, sessionId As String) As IEnumerable(Of KeyValuePair(Of String, Object))

Parameters

eventTime
Int64

A time when the event happend

processStartTime
Int64

A time when the session started

sessionId
String

Returns

Attributes

Applies to