Handles window messages.
Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
声明
Protected Overrides Function PreProcessMessage ( _
    ByRef m As Message _
) As Boolean
protected override bool PreProcessMessage(
    ref Message m
)
protected:
virtual bool PreProcessMessage(
    Message% m
) override
abstract PreProcessMessage : 
        m:Message byref -> bool 
override PreProcessMessage : 
        m:Message byref -> bool 
protected override function PreProcessMessage(
    m : Message
) : boolean
Parameters
- m
 Type: System.Windows.Forms.Message%
 The window message.
Return Value
Type: System.Boolean
true if it was possible to handle the message, otherwise false.
.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.