TelemetryEvent.GetDefaultEventProperties(Int64, Int64, String) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Возвращает свойства по умолчанию, которые должны быть в каждом Телеметревент
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
Время, когда произошло событие
- processStartTime
- Int64
Время начала сеанса
- sessionId
- String
Возвращаемое значение
- Атрибуты