Show / Hide Table of Contents

Interface ISupportCancellation

Interface for the worker host to inform worker model of the token that would identify any cancellation requests.

Namespace: DNVGL.One.Compute.Core.Worker
Assembly: DNVGL.One.Compute.Core.dll
Syntax
public interface ISupportCancellation

Methods

View Source

SetCancellationToken(CancellationToken)

Set the cancellation token.

Declaration
void SetCancellationToken(CancellationToken ct)
Parameters
Type Name Description
CancellationToken ct

The cancellation token.

  • View Source
Back to top Copyright © DNV GL AS. All rights reserved.