共用方式為


IVsSccCurrentRepository.RepositoryUIClickedAsync Method

Definition

Clicked handler that is called when the UI that displays repository information is clicked.

public:
 System::Threading::Tasks::Task ^ RepositoryUIClickedAsync(Microsoft::VisualStudio::Shell::ISccUIClickedEventArgs ^ args, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task RepositoryUIClickedAsync (Microsoft.VisualStudio.Shell.ISccUIClickedEventArgs args, System.Threading.CancellationToken cancellationToken);
abstract member RepositoryUIClickedAsync : Microsoft.VisualStudio.Shell.ISccUIClickedEventArgs * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RepositoryUIClickedAsync (args As ISccUIClickedEventArgs, cancellationToken As CancellationToken) As Task

Parameters

args
ISccUIClickedEventArgs

Absolute coordinates of the UI that was clicked.

cancellationToken
CancellationToken

A cancellation token.

Returns

A task that completes when the event has been handled. If the task is faulted, the exception will be recorded in the VS activity log.

Applies to