IVersionInfoService.GetVersionInformationAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.