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

Constructor.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.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

  • message
    Type: String

    Message string.

  • location
    Type: String

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

  • line
    Type: Int32

    Line number of the message.

  • column
    Type: Int32

    Column number of the message.

  • additionalProperties
    Type: array<KeyValuePair<String, Object>[]

    Any additional properties that will be stored in this message.

.NET Framework Security

See Also

Reference

SerializationMessage Class

SerializationMessage Overload

Microsoft.VisualStudio.Modeling Namespace