Table of Contents

Method CanStop

Namespace
Innova.NLogExtensions
Assembly
Innova.NLogExtensions.dll

CanStop(CancellationToken)

Determines whether the service can be stopped.

public Task<bool> CanStop(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<bool>

A task that represents the asynchronous operation. The task result contains a value indicating whether the service can be stopped.