IProfferService Interface

Definition

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.

public interface class IProfferService
public interface class IProfferService
__interface IProfferService
[System.Runtime.InteropServices.Guid("CB728B20-F786-11CE-92AD-00AA00A74CD0")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IProfferService
[System.Runtime.InteropServices.Guid("CB728B20-F786-11CE-92AD-00AA00A74CD0")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IProfferService
[<System.Runtime.InteropServices.Guid("CB728B20-F786-11CE-92AD-00AA00A74CD0")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IProfferService = interface
[<System.Runtime.InteropServices.Guid("CB728B20-F786-11CE-92AD-00AA00A74CD0")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IProfferService = interface
Public Interface IProfferService
Attributes

Remarks

This interface is safe to access from any thread.

Methods

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)

Prevents third-party clients from accessing a specified service.

Applies to