CoreDesignSurfaceSerializationBehaviorSerializationMessages.AmbiguousSchema Method
Add a warning for ambiguous schemas.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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: XmlReaderThe reader pointing to where the message is raised.
targetNamespace
Type: StringTarget namespace to be resolved.
schemaPath
Type: 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