public sealed record BridgeWindowCloseResult : IEquatable<BridgeWindowCloseResult> The admission result of a graceful Window or content-session close.
Parameters
DrainedWhether every accepted operation reached a terminal result within the timeout.
RemainingOperationsOperations still running at the timeout. They were asked to cancel.
CompletionCompletes when the remaining operations have finished and the closer has released what it owns. A Window host faults it with any release failures.
Constructors
BridgeWindowCloseResult
public BridgeWindowCloseResult(bool Drained, int RemainingOperations, Task Completion) The admission result of a graceful Window or content-session close.
Parameters
DrainedWhether every accepted operation reached a terminal result within the timeout.
RemainingOperationsOperations still running at the timeout. They were asked to cancel.
CompletionCompletes when the remaining operations have finished and the closer has released what it owns. A Window host faults it with any release failures.
Properties
Completion
public Task Completion { get; init; } Completes when the remaining operations have finished and the closer has released what it owns. A Window host faults it with any release failures.
Drained
public bool Drained { get; init; } Whether every accepted operation reached a terminal result within the timeout.
RemainingOperations
public int RemainingOperations { get; init; } Operations still running at the timeout. They were asked to cancel.