SerializationMessage Constructor (SerializationMessageKind, String, String, Int32, Int32, array<KeyValuePair<String, Object> )
Constructor.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
‘선언
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
- kind
Type: Microsoft.VisualStudio.Modeling.SerializationMessageKind
Kind of the message.
- message
Type: System.String
Message string.
- 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.
- line
Type: System.Int32
Line number of the message.
- column
Type: System.Int32
Column number of the message.
- additionalProperties
Type: array<System.Collections.Generic.KeyValuePair<String, Object>[]
Any additional properties that will be stored in this message.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.