Table of Contents

Method Cleanup

Namespace
Kepware.Api.Model
Assembly
Kepware.Api.dll

Cleanup(IKepwareDefaultValueProvider, bool, CancellationToken)

Recursively cleans up the channel and all devices.

public override Task Cleanup(IKepwareDefaultValueProvider defaultValueProvider, bool blnRemoveProjectId = false, CancellationToken cancellationToken = default)

Parameters

defaultValueProvider IKepwareDefaultValueProvider

The default value provider.

blnRemoveProjectId bool

Whether to remove the project ID.

cancellationToken CancellationToken

A token to cancel the operation.

Returns

Task

A task that represents the asynchronous cleanup operation.