Compartilhar via


IVsShell.UnadviseBroadcastMessages(UInt32) Method

Definition

Disables clients from receiving messages typically broadcast only to the main application window.

public:
 int UnadviseBroadcastMessages(System::UInt32 dwCookie);
public:
 int UnadviseBroadcastMessages(unsigned int dwCookie);
int UnadviseBroadcastMessages(unsigned int dwCookie);
public int UnadviseBroadcastMessages (uint dwCookie);
abstract member UnadviseBroadcastMessages : uint32 -> int
Public Function UnadviseBroadcastMessages (dwCookie As UInteger) As Integer

Parameters

dwCookie
UInt32

[in] Abstract handle used to unadvise the client of broadcast messages in the environment.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsShell::UnadviseBroadcastMessages(  
   [in] VSCOOKIE dwCookie  
);  

The dwCookie is the same cookie returned by the call to AdviseBroadcastMessages.

Applies to