Compartir a través de


WindowPane.IVsBroadcastMessageEvents.OnBroadcastMessage Method

Raised when a message is broadcast to the window.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Declaración
Private Function OnBroadcastMessage ( _
    msg As UInteger, _
    wParam As IntPtr, _
    lParam As IntPtr _
) As Integer Implements IVsBroadcastMessageEvents.OnBroadcastMessage
'Uso
Dim instance As WindowPane
Dim msg As UInteger
Dim wParam As IntPtr
Dim lParam As IntPtr
Dim returnValue As Integer

returnValue = CType(instance, IVsBroadcastMessageEvents).OnBroadcastMessage(msg, _
    wParam, lParam)
int IVsBroadcastMessageEvents.OnBroadcastMessage(
    uint msg,
    IntPtr wParam,
    IntPtr lParam
)
private:
virtual int OnBroadcastMessage(
    unsigned int msg, 
    IntPtr wParam, 
    IntPtr lParam
) sealed = IVsBroadcastMessageEvents::OnBroadcastMessage
private abstract OnBroadcastMessage : 
        msg:uint32 * 
        wParam:IntPtr * 
        lParam:IntPtr -> int 
private override OnBroadcastMessage : 
        msg:uint32 * 
        wParam:IntPtr * 
        lParam:IntPtr -> int 
JScript does not support explicit interface implementations.

Parameters

  • wParam
    Type: System.IntPtr
    A word-value parameter for the message.
  • lParam
    Type: System.IntPtr
    A long-integer parameter for the message.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsBroadcastMessageEvents.OnBroadcastMessage(UInt32, IntPtr, IntPtr)

.NET Framework Security

See Also

Reference

WindowPane Class

WindowPane Members

Microsoft.VisualStudio.Shell Namespace