TraceTimestampContextExtensions.CreateApproximateTraceDuration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- context
- ITraceTimestampContext
- 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
- context
- ITraceTimestampContext
- nanoseconds
- Int64