VersionMismatchException.GetObjectData(SerializationInfo, StreamingContext) Método

Definición

Establece SerializationInfo con información sobre la excepción.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);
[<System.Security.SecurityCritical>]
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Public Overrides Sub GetObjectData (info As SerializationInfo, context As StreamingContext)

Parámetros

info
SerializationInfo

Elemento SerializationInfo que contiene los datos del objeto serializados sobre la excepción iniciada.The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

StreamingContext que contiene información contextual sobre el origen o el destino.The StreamingContext that contains contextual information about the source or destination.

Atributos

Se aplica a