共用方式為


ISolutionService.RequestProjectEventsAsync(CancellationToken) Method

Definition

Request that project load events be raised. If this method is not called, instances of ISolutionService will not raise the ProjectLoadProgressChanged, ProjectsLoaded, ProjectsUnloaded events.

public:
 System::Threading::Tasks::Task ^ RequestProjectEventsAsync(System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task RequestProjectEventsAsync (System.Threading.CancellationToken cancellationToken);
abstract member RequestProjectEventsAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RequestProjectEventsAsync (cancellationToken As CancellationToken) As Task

Parameters

cancellationToken
CancellationToken

A cancellation token.

Returns

A task representing the async operation.

Applies to