CoreDesignSurfaceSerializationBehaviorSerializationMessages::VersionMismatch Method (SerializationContext^, XmlReader^, Version^, Version^)
Visual Studio 2015
Add an error for Version mismatch.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
public: static void VersionMismatch( SerializationContext^ serializationContext, XmlReader^ reader, Version^ expectedVersion, Version^ actualVersion )
Parameters
- serializationContext
-
Type:
Microsoft.VisualStudio.Modeling::SerializationContext^
SerializationContext to add the error message to.
- reader
-
Type:
System.Xml::XmlReader^
The reader pointing to where the message is raised.
- expectedVersion
-
Type:
System::Version^
The version that's expected.
- actualVersion
-
Type:
System::Version^
Actual version from the file.
Show: