共用方式為


IVersionInfoService.GetVersionInformationAsync(CancellationToken) Method

Definition

Gets a VersionInformation containing version information about VS.

public System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.VersionInfoService.VersionInformation> GetVersionInformationAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetVersionInformationAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.VersionInfoService.VersionInformation>
Public Function GetVersionInformationAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of VersionInformation)

Parameters

cancellationToken
CancellationToken

A CancellationToken.

Returns

A VersionInformation containing version information about VS.

Applies to