Udostępnij za pośrednictwem


IProfferAsyncService.ProfferAsyncService Method

Definition

Overloads

ProfferAsyncService(Guid, IAsyncServiceProvider)
ProfferAsyncService(Guid, IAsyncServiceProvider)

Proffers an asynchronous service.

ProfferAsyncService(Guid, IAsyncServiceProvider)

public:
 System::UInt32 ProfferAsyncService(Guid % rguidService, Microsoft::VisualStudio::Shell::Interop::COMAsyncServiceProvider::IAsyncServiceProvider ^ psp);
public uint ProfferAsyncService (ref Guid rguidService, Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider psp);
abstract member ProfferAsyncService : Guid * Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider -> uint32
Public Function ProfferAsyncService (ByRef rguidService As Guid, psp As IAsyncServiceProvider) As UInteger

Parameters

rguidService
Guid
psp
Microsoft.VisualStudio.Shell.Interop.COMAsyncServiceProvider.IAsyncServiceProvider

Returns

Remarks

This method is safe to access from any thread.

Applies to

ProfferAsyncService(Guid, IAsyncServiceProvider)

Proffers an asynchronous service.

public:
 System::UInt32 ProfferAsyncService(Guid % rguidService, Microsoft::VisualStudio::Shell::Interop::IAsyncServiceProvider ^ psp);
public uint ProfferAsyncService (ref Guid rguidService, Microsoft.VisualStudio.Shell.Interop.IAsyncServiceProvider psp);
abstract member ProfferAsyncService :  * Microsoft.VisualStudio.Shell.Interop.IAsyncServiceProvider -> uint32
Public Function ProfferAsyncService (ByRef rguidService As Guid, psp As IAsyncServiceProvider) As UInteger

Parameters

rguidService
Guid

The GUID of the service.

psp
IAsyncServiceProvider

The async service provider.

Returns

The cookie for the service.

Applies to