Partager via


CoreDesignSurfaceSerializationBehaviorSerializationMessages.AmbiguousSchema Method

Add a warning for ambiguous schemas.

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

Syntax

'Declaration
Public Shared Sub AmbiguousSchema ( _
    serializationContext As SerializationContext, _
    reader As XmlReader, _
    targetNamespace As String, _
    schemaPath As String _
)
public static void AmbiguousSchema(
    SerializationContext serializationContext,
    XmlReader reader,
    string targetNamespace,
    string schemaPath
)
public:
static void AmbiguousSchema(
    SerializationContext^ serializationContext, 
    XmlReader^ reader, 
    String^ targetNamespace, 
    String^ schemaPath
)
static member AmbiguousSchema : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        targetNamespace:string * 
        schemaPath:string -> unit
public static function AmbiguousSchema(
    serializationContext : SerializationContext, 
    reader : XmlReader, 
    targetNamespace : String, 
    schemaPath : String
)

Parameters

  • targetNamespace
    Type: System.String

    Target namespace to be resolved.

  • schemaPath
    Type: System.String

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

.NET Framework Security

See Also

Reference

CoreDesignSurfaceSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace