共用方式為


IVsTaskList2.RefreshAllProviders Method

Definition

Refreshes all tasks from all registered providers.

public:
 int RefreshAllProviders();
public:
 int RefreshAllProviders();
int RefreshAllProviders();
public int RefreshAllProviders ();
abstract member RefreshAllProviders : unit -> int
Public Function RefreshAllProviders () As Integer

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

This is a potentially time-consuming operation.

COM Signature

From vsshell80.idl:

HRESULT SetActiveProvider(  
   [in] REFGUID rguidProvider  
);  

Applies to