Partager via


SerializationMessage Constructors

Definition

Overloads

SerializationMessage()

Constructor

SerializationMessage(SerializationMessageKind, String, String, Int32, Int32, KeyValuePair<String,Object>[])

Constructor.

SerializationMessage()

Constructor

public:
 SerializationMessage();
public SerializationMessage ();
Public Sub New ()

Applies to

SerializationMessage(SerializationMessageKind, String, String, Int32, Int32, KeyValuePair<String,Object>[])

Constructor.

public:
 SerializationMessage(Microsoft::VisualStudio::Modeling::SerializationMessageKind kind, System::String ^ message, System::String ^ location, int line, int column, ... cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ additionalProperties);
public SerializationMessage (Microsoft.VisualStudio.Modeling.SerializationMessageKind kind, string message, string location, int line, int column, params System.Collections.Generic.KeyValuePair<string,object>[] additionalProperties);
new Microsoft.VisualStudio.Modeling.SerializationMessage : Microsoft.VisualStudio.Modeling.SerializationMessageKind * string * string * int * int * System.Collections.Generic.KeyValuePair<string, obj>[] -> Microsoft.VisualStudio.Modeling.SerializationMessage
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)())

Parameters

kind
SerializationMessageKind

Kind of the message.

message
String

Message string.

location
String

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

line
Int32

Line number of the message.

column
Int32

Column number of the message.

additionalProperties
KeyValuePair<String,Object>[]

Any additional properties that will be stored in this message.

Applies to