Class OperationCancelContext
Context provided when cancel is called.
public record OperationCancelContext : OperationContext, IEquatable<OperationContext>, IEquatable<OperationCancelContext>
- Inheritance
-
OperationCancelContext
- Implements
- Inherited Members
Constructors
OperationCancelContext(string, string, CancellationToken, string)
Context provided when cancel is called.
public OperationCancelContext(string Service, string Operation, CancellationToken CancellationToken, string OperationToken)
Parameters
ServicestringService name.
OperationstringOperation name.
CancellationTokenCancellationTokenCancellation token for when this specific call is canceled (not to be confused with operation cancellation).
OperationTokenstringToken referencing the operation.
Properties
OperationToken
Token referencing the operation.
public string OperationToken { get; init; }