TraceTimestampContextExtensions.CreateApproximate 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
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
- context
- ITraceTimestampContext
- 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
- context
- ITraceTimestampContext
- value
- DateTimeOffset
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
- context
- ITraceTimestampContext
- nanoseconds
- Int64