Table of Contents

Class NavigationOperation

Namespace
MackySoft.Navigathena
Assembly
MackySoft.Navigathena.dll

A host-owned operation with independent result waiting and explicit cancellation.

public sealed class NavigationOperation
Inheritance
NavigationOperation
Inherited Members

Properties

Id

public NavigationOperationId Id { get; }

Property Value

NavigationOperationId

Methods

TryRequestCancellation()

Requests cancellation before the irreversible boundary. Callback exceptions propagate after the request is accepted.

public bool TryRequestCancellation()

Returns

bool

WaitAsync(CancellationToken)

Waits for committed completion. Rejected requests, conflicts and execution failures throw; canceling this wait does not cancel the operation.

public Task<NavigationResult> WaitAsync(CancellationToken waitCancellationToken = default)

Parameters

waitCancellationToken CancellationToken

Returns

Task<NavigationResult>