Edit

Share via


TraceTimestampContextExtensions.CreateApproximate Method

Definition

Overloads

CreateApproximate(ITraceTimestampContext, Timestamp)
CreateApproximate(ITraceTimestampContext, DateTimeOffset)
CreateApproximate(ITraceTimestampContext, Int64)

CreateApproximate(ITraceTimestampContext, Timestamp)

public static Microsoft.Windows.EventTracing.TraceTimestamp CreateApproximate (this Microsoft.Windows.EventTracing.ITraceTimestampContext context, Microsoft.Windows.EventTracing.Timestamp value);
static member CreateApproximate : Microsoft.Windows.EventTracing.ITraceTimestampContext * Microsoft.Windows.EventTracing.Timestamp -> Microsoft.Windows.EventTracing.TraceTimestamp
<Extension()>
Public Function CreateApproximate (context As ITraceTimestampContext, value As Timestamp) As TraceTimestamp

Parameters

value
Timestamp

Returns

Applies to

CreateApproximate(ITraceTimestampContext, DateTimeOffset)

public static Microsoft.Windows.EventTracing.TraceTimestamp CreateApproximate (this Microsoft.Windows.EventTracing.ITraceTimestampContext context, DateTimeOffset value);
static member CreateApproximate : Microsoft.Windows.EventTracing.ITraceTimestampContext * DateTimeOffset -> Microsoft.Windows.EventTracing.TraceTimestamp
<Extension()>
Public Function CreateApproximate (context As ITraceTimestampContext, value As DateTimeOffset) As TraceTimestamp

Parameters

Returns

Applies to

CreateApproximate(ITraceTimestampContext, Int64)

public static Microsoft.Windows.EventTracing.TraceTimestamp CreateApproximate (this Microsoft.Windows.EventTracing.ITraceTimestampContext context, long nanoseconds);
static member CreateApproximate : Microsoft.Windows.EventTracing.ITraceTimestampContext * int64 -> Microsoft.Windows.EventTracing.TraceTimestamp
<Extension()>
Public Function CreateApproximate (context As ITraceTimestampContext, nanoseconds As Long) As TraceTimestamp

Parameters

nanoseconds
Int64

Returns

Applies to