다음을 통해 공유


IVsShell.UnadviseBroadcastMessages Method

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

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

‘선언
Function UnadviseBroadcastMessages ( _
    dwCookie As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsShell
Dim dwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.UnadviseBroadcastMessages(dwCookie)
int UnadviseBroadcastMessages(
    uint dwCookie
)
int UnadviseBroadcastMessages(
    [InAttribute] unsigned int dwCookie
)
abstract UnadviseBroadcastMessages : 
        dwCookie:uint32 -> int 
function UnadviseBroadcastMessages(
    dwCookie : uint
) : int

Parameters

  • dwCookie
    Type: System.UInt32
    [in] Abstract handle used to unadvise the client of broadcast messages in the environment.

Return Value

Type: System.Int32
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.

.NET Framework Security

See Also

Reference

IVsShell Interface

IVsShell Members

Microsoft.VisualStudio.Shell.Interop Namespace