SerializationMessage Constructor (SerializationMessageKind, String, String, Int32, Int32, array<KeyValuePair<String, Object> )

Constructor.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.0.dll)

Syntax

'Declaration
Public Sub New ( _
    kind As SerializationMessageKind, _
    message As String, _
    location As String, _
    line As Integer, _
    column As Integer, _
    ParamArray additionalProperties As KeyValuePair(Of String, Object)() _
)
public SerializationMessage(
    SerializationMessageKind kind,
    string message,
    string location,
    int line,
    int column,
    params KeyValuePair<string, Object>[] additionalProperties
)
public:
SerializationMessage(
    SerializationMessageKind kind, 
    String^ message, 
    String^ location, 
    int line, 
    int column, 
    ... array<KeyValuePair<String^, Object^>>^ additionalProperties
)
new : 
        kind:SerializationMessageKind * 
        message:string * 
        location:string * 
        line:int * 
        column:int * 
        additionalProperties:KeyValuePair<string, Object>[] -> SerializationMessage
public function SerializationMessage(
    kind : SerializationMessageKind, 
    message : String, 
    location : String, 
    line : int, 
    column : int, 
    ... additionalProperties : KeyValuePair<String, Object>[]
)

Parameters

  • location
    Type: System.String

    The location of the source of this message. Usually a file path, but can be other string (including null) as well.

.NET Framework Security

See Also

Reference

SerializationMessage Class

SerializationMessage Overload

Microsoft.VisualStudio.Modeling Namespace