IUriDisplayInfoProvider.GetDisplayInfoAsync(Uri, 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 display information for a Uri.
public:
System::Threading::Tasks::Task<Microsoft::VisualStudio::RpcContracts::FileSystem::UriDisplayInfo ^> ^ GetDisplayInfoAsync(Uri ^ uri, System::Threading::CancellationToken cancellationToken);
public System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.FileSystem.UriDisplayInfo> GetDisplayInfoAsync (Uri uri, System.Threading.CancellationToken cancellationToken);
abstract member GetDisplayInfoAsync : Uri * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.RpcContracts.FileSystem.UriDisplayInfo>
Public Function GetDisplayInfoAsync (uri As Uri, cancellationToken As CancellationToken) As Task(Of UriDisplayInfo)
Parameters
- cancellationToken
- CancellationToken
The cancellation token.
Returns
The display information for a Uri.