IVsPublishSubscribeService.Unsubscribe(Type, BulletinHandler) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
取消注册指定公告的处理程序。
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)
参数
- bulletinType
- Type
正在取消订阅的公告的类型。
- handler
- BulletinHandler
与公告类型关联的处理程序。
注解
如果或为 null,则将引发 bulletinType handler 。