ProGet SDK Reference
Version:

CleanAsync(IPackageIndex packageIndex) Method

Performs a cleanup and consistency check for the package store.

Syntax

public virtual System.Threading.Tasks.Task CleanAsync(IPackageIndex packageIndex)

Parameters

packageIndex
Type: IPackageIndex

Interface used to ensure that the package index is correct.

Exceptions

System.ArgumentNullException

packageIndex is null (Nothing in Visual Basic).