共用方式為


IMaintenanceTask Interface

Definition

An interface that may be implemented and exported into the default Visual Studio catalog in order to receive one chance per VS session when VS is idle to get some periodic work done.

public interface IMaintenanceTask
type IMaintenanceTask = interface
Public Interface IMaintenanceTask

Methods

PerformMaintenanceAsync(CancellationToken)

Invoked by the idle manager when it's a good time to get your periodic maintenance task done.

Applies to