VersionMismatchException.GetObjectData(SerializationInfo, StreamingContext) VersionMismatchException.GetObjectData(SerializationInfo, StreamingContext) VersionMismatchException.GetObjectData(SerializationInfo, StreamingContext) VersionMismatchException.GetObjectData(SerializationInfo, StreamingContext) Method

Definition

Legt die SerializationInfo mit Informationen zur Ausnahme fest.Sets the SerializationInfo with information about the exception.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Security.SecurityCritical]
public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parameter

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

Die SerializationInfo, die die serialisierten Objektdaten für die ausgelöste Ausnahme enthält.The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext StreamingContext StreamingContext StreamingContext

Der StreamingContext, der die Kontextinformationen über die Quelle oder das Ziel enthält.The StreamingContext that contains contextual information about the source or destination.

Gilt für: