Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextSerializationContext to add the warning message to.
reader
Type: System.Xml.XmlReaderThe reader pointing to where the message is raised.
targetNamespace
Type: System.StringTarget namespace to be resolved.
schemaPath
Type: System.StringThe schema that is used to resolve the definition of the target namespace.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
CoreDesignSurfaceSerializationBehaviorSerializationMessages Class