Interface ITimeoutOperationToken
Represents a token for tracking timeout operations and collecting performance metrics. Operation tracking for timeout monitoring.
public interface ITimeoutOperationToken : IDisposable
- Inherited Members
- Extension Methods
Properties
Context
Gets the context associated with this operation.
TimeoutContext? Context { get; }
Property Value
- TimeoutContext
The associated timeout context.
Elapsed
Gets the elapsed time since the operation started.
TimeSpan Elapsed { get; }
Property Value
- TimeSpan
The elapsed time since the operation started.
HasTimedOut
Gets a value indicating whether the operation timed out.
bool? HasTimedOut { get; }
Property Value
IsCompleted
Gets a value indicating whether the operation has been completed.
bool IsCompleted { get; }
Property Value
IsSuccessful
Gets a value indicating whether the operation was successful.
bool? IsSuccessful { get; }
Property Value
OperationId
Gets the unique identifier for this operation.
Guid OperationId { get; }
Property Value
- Guid
The unique operation identifier.
OperationType
Gets the type of operation being tracked.
TimeoutOperationType OperationType { get; }
Property Value
- TimeoutOperationType
The type of operation being tracked.
StartTime
Gets the timestamp when the operation started.
DateTimeOffset StartTime { get; }
Property Value
- DateTimeOffset
The operation start time.