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
'Declaration
Private Function OnBroadcastMessage ( _
msg As UInteger, _
wParam As IntPtr, _
lParam As IntPtr _
) As Integer Implements IVsBroadcastMessageEvents.OnBroadcastMessage
'Usage
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
- msg
Type: System.UInt32
The broadcast message.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.