Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Add an error for MajorVersion mismatch.
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 MajorVersionMismatch ( _
serializationContext As SerializationContext, _
reader As XmlReader, _
actualVersion As Integer, _
expectedVersion As Integer _
)
public static void MajorVersionMismatch(
SerializationContext serializationContext,
XmlReader reader,
int actualVersion,
int expectedVersion
)
public:
static void MajorVersionMismatch(
SerializationContext^ serializationContext,
XmlReader^ reader,
int actualVersion,
int expectedVersion
)
static member MajorVersionMismatch :
serializationContext:SerializationContext *
reader:XmlReader *
actualVersion:int *
expectedVersion:int -> unit
public static function MajorVersionMismatch(
serializationContext : SerializationContext,
reader : XmlReader,
actualVersion : int,
expectedVersion : int
)
Parameters
serializationContext
Type: Microsoft.VisualStudio.Modeling.SerializationContextSerializationContext to add the error message to.
reader
Type: System.Xml.XmlReaderThe reader pointing to where the message is raised.
actualVersion
Type: System.Int32Actual version from the file.
expectedVersion
Type: System.Int32The version that's expected.
.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