共用方式為


IProfferService Members

Include Protected Members
Include Inherited Members

Enables a VSPackage to offer new services through the Visual Studio environment that are not implemented natively by the environment. In effect, it provides the mechanism through which VSPackages can contribute to the environment. The IProfferService interface is part of SProfferService.

The IProfferService type exposes the following members.

Methods

  Name Description
Public method ProfferService 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.
Public method RevokeService Prevents third-party clients from accessing a specified service.

Top

See Also

Reference

IProfferService Interface

Microsoft.VisualStudio.Shell.Interop Namespace