CoreDesignSurfaceSerializationBehaviorSerializationMessages.NoSchema Method
Add a warning for no schema found for the given target namespace, schema validation will be skipped in this case.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Shared Sub NoSchema ( _
serializationContext As SerializationContext, _
reader As XmlReader, _
targetNamespace As String _
)
public static void NoSchema(
SerializationContext serializationContext,
XmlReader reader,
string targetNamespace
)
public:
static void NoSchema(
SerializationContext^ serializationContext,
XmlReader^ reader,
String^ targetNamespace
)
static member NoSchema :
serializationContext:SerializationContext *
reader:XmlReader *
targetNamespace:string -> unit
public static function NoSchema(
serializationContext : SerializationContext,
reader : XmlReader,
targetNamespace : 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 that cannot be resolved.
.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