Partilhar via


DslDefinitionModelSerializationBehaviorSerializationMessages.VersionMismatch Method

Add an error for Version mismatch.

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 VersionMismatch ( _
    serializationContext As SerializationContext, _
    reader As XmlReader, _
    expectedVersion As Version, _
    actualVersion As Version _
)
public static void VersionMismatch(
    SerializationContext serializationContext,
    XmlReader reader,
    Version expectedVersion,
    Version actualVersion
)
public:
static void VersionMismatch(
    SerializationContext^ serializationContext, 
    XmlReader^ reader, 
    Version^ expectedVersion, 
    Version^ actualVersion
)
static member VersionMismatch : 
        serializationContext:SerializationContext * 
        reader:XmlReader * 
        expectedVersion:Version * 
        actualVersion:Version -> unit 
public static function VersionMismatch(
    serializationContext : SerializationContext, 
    reader : XmlReader, 
    expectedVersion : Version, 
    actualVersion : Version
)

Parameters

.NET Framework Security

See Also

Reference

DslDefinitionModelSerializationBehaviorSerializationMessages Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace