ElementNotAvailableException.GetObjectData(SerializationInfo, StreamingContext) Methode

Definition

Ruft die zum Serialisieren des Zielobjekts erforderlichen Daten ab.Retrieves data needed to serialize the target object.

public:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
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
[<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)

Parameter

info
SerializationInfo

Die zum Serialisieren bzw. Deserialisieren des Objekts benötigten Daten.Data needed to serialize or deserialize the object.

context
StreamingContext

Das Ziel des serialisierten Streams.The destination of the serialized stream.

Attribute

Gilt für: