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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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.SerializationContextSerializationContext to add the warning message to.
reader
Type: XmlReaderThe reader pointing to where the message is raised.
targetNamespace
Type: StringTarget 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