IVsPublishSubscribeService.Unsubscribe(Type, BulletinHandler) Method

Definition

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.

Applies to