IVsPublishSubscribeService.Unsubscribe(Type, BulletinHandler) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Unregisters a handler for the specified bulletin.
public:
void Unsubscribe(Type ^ bulletinType, Microsoft::VisualStudio::Shell::Services::BulletinHandler ^ handler);
public:
void Unsubscribe(Platform::Type ^ bulletinType, Microsoft::VisualStudio::Shell::Services::BulletinHandler ^ handler);
public void Unsubscribe (Type bulletinType, Microsoft.VisualStudio.Shell.Services.BulletinHandler handler);
abstract member Unsubscribe : Type * Microsoft.VisualStudio.Shell.Services.BulletinHandler -> unit
Public Sub Unsubscribe (bulletinType As Type, handler As BulletinHandler)
Parameters
- bulletinType
- Type
The type of the bulletin being unsubscribed from.
- handler
- BulletinHandler
The handler that is associated with the bulletin type.
Exceptions
Thrown when bulletinType or handler are null.
Remarks
A will be thrown if bulletinType or handler are null.