SerializationUtilities.AddValidationMessage Method
Adds a validation message to a serialization result.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Shared Sub AddValidationMessage ( _
serializationResult As SerializationResult, _
validationMessage As ValidationMessage _
)
public static void AddValidationMessage(
SerializationResult serializationResult,
ValidationMessage validationMessage
)
public:
static void AddValidationMessage(
SerializationResult^ serializationResult,
ValidationMessage^ validationMessage
)
static member AddValidationMessage :
serializationResult:SerializationResult *
validationMessage:ValidationMessage -> unit
public static function AddValidationMessage(
serializationResult : SerializationResult,
validationMessage : ValidationMessage
)
Parameters
- serializationResult
Type: Microsoft.VisualStudio.Modeling.SerializationResult
The serialization result.
- validationMessage
Type: Microsoft.VisualStudio.Modeling.Validation.ValidationMessage
The validation 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.