TelemetryEvent.GetDefaultEventProperties(Int64, Int64, String) Метод

Определение

Возвращает свойства по умолчанию, которые должны быть в каждом Телеметревент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__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>>
Protected Iterator Overridable Function GetDefaultEventProperties (eventTime As Long, processStartTime As Long, sessionId As String) As IEnumerable(Of KeyValuePair(Of String, Object))

Параметры

eventTime
Int64

Время, когда произошло событиеA time when the event happend

processStartTime
Int64

Время начала сеансаA time when the session started

sessionId
String

Возвращаемое значение

IEnumerable<KeyValuePair<String,Object>>
Атрибуты

Применяется к