Condividi tramite


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

'Dichiarazione
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

.NET Framework Security

See Also

Reference

SerializationUtilities Class

Microsoft.VisualStudio.Modeling Namespace