Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.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
DslDefinitionModelSerializationBehaviorSerializationMessages Class