DslDefinitionModelSerializationBehaviorSerializationMessages.NoSchema Method

Definition

Add a warning for no schema found for the given target namespace, schema validation will be skipped in this case.

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

Parameters

serializationContext
SerializationContext

SerializationContext to add the warning message to.

reader
XmlReader

The reader pointing to where the message is raised.

targetNamespace
String

Target namespace that cannot be resolved.

Applies to