Edit

Share via


TraceTimestampContextExtensions.CreateApproximateTraceDuration Method

Definition

Overloads

CreateApproximateTraceDuration(ITraceTimestampContext, Duration)
CreateApproximateTraceDuration(ITraceTimestampContext, Int64)

CreateApproximateTraceDuration(ITraceTimestampContext, Duration)

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

Parameters

value
Duration

Returns

Applies to

CreateApproximateTraceDuration(ITraceTimestampContext, Int64)

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

Parameters

nanoseconds
Int64

Returns

Applies to