Partager via


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

'Déclaration
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

  • targetNamespace
    Type: System.String
    Target namespace that cannot be resolved.

.NET Framework Security

See Also

Reference

CoreDesignSurfaceSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace