Class OperationStartContext
Context provided when start is called.
public record OperationStartContext : OperationContext, IEquatable<OperationContext>, IEquatable<OperationStartContext>
- Inheritance
-
OperationStartContext
- Implements
- Inherited Members
Constructors
OperationStartContext(string, string, CancellationToken, string)
Context provided when start is called.
public OperationStartContext(string Service, string Operation, CancellationToken CancellationToken, string RequestId)
Parameters
ServicestringService name.
OperationstringOperation name.
CancellationTokenCancellationTokenCancellation token for when this specific call is canceled (not to be confused with operation cancellation).
RequestIdstringUnique identifier for this start call for deduplication.
Properties
CallbackHeaders
Gets headers to use on the callback if CallbackUrl is used.
public IReadOnlyDictionary<string, string>? CallbackHeaders { get; init; }
Property Value
Remarks
This dictionary is expected to compare keys case-insensitively.
CallbackUrl
Gets the ptional callback for asynchronous operations to deliver results to.
public string? CallbackUrl { get; init; }
Property Value
Remarks
If this is present and the implementation is an asynchronous operation, the implementation should ensure this callback is invoked with the result upon completion.
InboundLinks
Gets links with arbitrary caller information.
public IReadOnlyCollection<NexusLink> InboundLinks { get; init; }
Property Value
RequestId
Unique identifier for this start call for deduplication.
public string RequestId { get; init; }