Condividi tramite


CoreDesignSurfaceSerializationBehaviorSerializationMessages.SchemaValidationError Method

Definition

Add a warning for schema validation error.

public:
 static void SchemaValidationError(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, System::Xml::XmlReader ^ reader, System::String ^ message);
public static void SchemaValidationError (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, System.Xml.XmlReader reader, string message);
static member SchemaValidationError : Microsoft.VisualStudio.Modeling.SerializationContext * System.Xml.XmlReader * string -> unit
Public Shared Sub SchemaValidationError (serializationContext As SerializationContext, reader As XmlReader, message As String)

Parameters

serializationContext
SerializationContext

SerializationContext to add the warning message to.

reader
XmlReader

The reader pointing to where the message is raised.

message
String

Validation message reported from schema validation.

Applies to