Share via


DslDefinitionModelSerializationBehaviorSerializationMessages.AmbiguousSchema Method

Definition

Add a warning for ambiguous schemas.

public:
 static void AmbiguousSchema(Microsoft::VisualStudio::Modeling::SerializationContext ^ serializationContext, System::Xml::XmlReader ^ reader, System::String ^ targetNamespace, System::String ^ schemaPath);
public static void AmbiguousSchema (Microsoft.VisualStudio.Modeling.SerializationContext serializationContext, System.Xml.XmlReader reader, string targetNamespace, string schemaPath);
static member AmbiguousSchema : Microsoft.VisualStudio.Modeling.SerializationContext * System.Xml.XmlReader * string * string -> unit
Public Shared Sub AmbiguousSchema (serializationContext As SerializationContext, reader As XmlReader, targetNamespace As String, schemaPath 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 to be resolved.

schemaPath
String

The schema that is used to resolve the definition of the target namespace.

Applies to