Condividi tramite


CoreDesignSurfaceSerializationBehaviorSerializationMessages.SchemaValidationError Method

Add a warning for schema validation error.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Dichiarazione
Public Shared Sub SchemaValidationError ( _
    serializationContext As SerializationContext, _
    reader As XmlReader, _
    message As String _
)
public static void SchemaValidationError(
    SerializationContext serializationContext,
    XmlReader reader,
    string message
)
public:
static void SchemaValidationError(
    SerializationContext^ serializationContext, 
    XmlReader^ reader, 
    String^ message
)
static member SchemaValidationError : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        message:string -> unit 
public static function SchemaValidationError(
    serializationContext : SerializationContext, 
    reader : XmlReader, 
    message : String
)

Parameters

  • message
    Type: System.String
    Validation message reported from schema validation.

.NET Framework Security

See Also

Reference

CoreDesignSurfaceSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace