次の方法で共有


DslDefinitionModelSerializationBehaviorSerializationMessages.SchemaValidationError Method

Add a warning for schema validation error.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣言
Public Shared Sub SchemaValidationError ( _
    serializationContext As SerializationContext, _
    reader As XmlReader, _
    message As String _
)
public static void SchemaValidationError(
    SerializationContext serializationContext,
    XmlReader reader,
    string message
)
public:
static void SchemaValidationError(
    SerializationContext^ serializationContext, 
    XmlReader^ reader, 
    String^ message
)
static member SchemaValidationError : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        message:string -> unit 
public static function SchemaValidationError(
    serializationContext : SerializationContext, 
    reader : XmlReader, 
    message : String
)

Parameters

  • message
    Type: System.String
    Validation message reported from schema validation.

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace