SerializationUtilities.AddMessage 方法 (SerializationContext, SerializationMessageKind, String, IXmlLineInfo, array<KeyValuePair<String, Object>[])

添加消息到序列化上下文。

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

语法

声明
Public Shared Sub AddMessage ( _
    serializationContext As SerializationContext, _
    kind As SerializationMessageKind, _
    message As String, _
    xmlLineInfo As IXmlLineInfo, _
    ParamArray additionalProperties As KeyValuePair(Of String, Object)() _
)
public static void AddMessage(
    SerializationContext serializationContext,
    SerializationMessageKind kind,
    string message,
    IXmlLineInfo xmlLineInfo,
    params KeyValuePair<string, Object>[] additionalProperties
)

参数

.NET Framework 安全性

请参见

参考

SerializationUtilities 类

AddMessage 重载

Microsoft.VisualStudio.Modeling 命名空间