DkmTraceTimeContext.Create Method

Definition

Create a new DkmTraceTimeContext object instance.

This API was introduced in Visual Studio 16 RTM (DkmApiVersion.VS16RTMPreview).

public:
 static Microsoft::VisualStudio::Debugger::DkmTraceTimeContext ^ Create(System::Collections::ObjectModel::ReadOnlyCollection<System::Byte> ^ UniqueId, Microsoft::VisualStudio::Debugger::DkmProcess ^ Process, double ApproximatePosition);
public static Microsoft.VisualStudio.Debugger.DkmTraceTimeContext Create (System.Collections.ObjectModel.ReadOnlyCollection<byte> UniqueId, Microsoft.VisualStudio.Debugger.DkmProcess Process, double ApproximatePosition);
static member Create : System.Collections.ObjectModel.ReadOnlyCollection<byte> * Microsoft.VisualStudio.Debugger.DkmProcess * double -> Microsoft.VisualStudio.Debugger.DkmTraceTimeContext
Public Shared Function Create (UniqueId As ReadOnlyCollection(Of Byte), Process As DkmProcess, ApproximatePosition As Double) As DkmTraceTimeContext

Parameters

UniqueId
ReadOnlyCollection<Byte>

[In] Implementation defined data that uniquely identifies this time context.

Process
DkmProcess

[In] The process this time context applies to.

ApproximatePosition
Double

[In] An approximation of this position relative to the beginning of the trace. In some cases the amount of trace time can change so the approximation cannot be assumed to be constant relative to the end point. This is used for display purposes only and shouldn't be used as an exact position in the trace.

Returns

[Out] Result of this method call.

Applies to