[System.Runtime.InteropServices.Guid("CB728B20-F786-11CE-92AD-00AA00A74CD0")] [System.Runtime.InteropServices.InterfaceType(1)] public interface IProfferService
type IProfferService = interface
Public Interface IProfferService
VSPackage creators must register in the Windows registry the services it makes available through the environment in order to make them accessible to users. User then obtains the service by calling
QueryService. For more information, see Managing VSPackages.
A VSPackage cannot replace the implementation of a service that is already provided by the environment or another loaded VSPackage. Therefore, if a service is already provided at the time an attempt to proffer the same service is made, the ProfferService method will fail.
|ProfferService(Guid, IServiceProvider, UInt32) ProfferService(Guid, IServiceProvider, UInt32) ProfferService(Guid, IServiceProvider, UInt32)||
Allows the caller to proffer a new service to the set of services presently proffered by the environment, either natively or by other installed VSPackages.
|RevokeService(UInt32) RevokeService(UInt32) RevokeService(UInt32)||
Prevents third-party clients from accessing a specified service.