次の方法で共有


AsyncPackage.IAsyncServiceProvider.QueryServiceAsync(Guid) Method

Definition

Get an async initializing service that is offered by this package.

 virtual Microsoft::VisualStudio::Shell::Interop::IVsTask ^ Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider.QueryServiceAsync(Guid % guidService) = Microsoft::VisualStudio::Shell::Interop::COMAsyncServiceProvider::IAsyncServiceProvider::QueryServiceAsync;
Microsoft.VisualStudio.Shell.Interop.IVsTask IAsyncServiceProvider.QueryServiceAsync (ref Guid guidService);
abstract member Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider.QueryServiceAsync : Guid -> Microsoft.VisualStudio.Shell.Interop.IVsTask
override this.Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider.QueryServiceAsync : Guid -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Function QueryServiceAsync (ByRef guidService As Guid) As IVsTask Implements IAsyncServiceProvider.QueryServiceAsync

Parameters

guidService
Guid

The GUID of the service to retrieve.

Returns

A IVsTask representing the service retrieval.

Implements

Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider.QueryServiceAsync(System.Guid@)

Applies to