Freigeben über


IUriDisplayInfoProvider.GetDisplayInfoAsync(Uri, CancellationToken) Method

Definition

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

uri
Uri

The Uri whose display information is returned.

cancellationToken
CancellationToken

The cancellation token.

Returns

The display information for a Uri.

Applies to