DiagramView.WndProc 方法

重写默认值 WndProc,以便我们不关闭与和生成 Watson,除非它是一个重要异常。如果不是这样,然后我们 diplay 错误消息。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
<SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags := SecurityPermissionFlag.UnmanagedCode)> _
Protected Overrides Sub WndProc ( _
    ByRef m As Message _
)
[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, Flags = SecurityPermissionFlag.UnmanagedCode)]
protected override void WndProc(
    ref Message m
)

参数

.NET Framework 安全性

请参见

参考

DiagramView 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间