Partilhar via


DslDefinitionModelSerializationBehaviorSerializationMessages.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.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Declaração
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

DslDefinitionModelSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace