CoreDesignSurfaceSerializationBehaviorSerializationMessages.AmbiguousSchema Method
Add a warning for ambiguous schemas.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaração
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.SerializationContext
SerializationContext to add the warning message to.
- reader
Type: System.Xml.XmlReader
The reader pointing to where the message is raised.
- 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
- 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