FileWebResponse.GetObjectData(SerializationInfo, StreamingContext) Methode

Definition

Füllt eine SerializationInfo mit den Daten auf, die zum Serialisieren des Zielobjekts erforderlich sind.Populates a SerializationInfo with the data needed to serialize the target object.

protected:
 override void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected override void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
Protected Overrides Sub GetObjectData (serializationInfo As SerializationInfo, streamingContext As StreamingContext)

Parameter

serializationInfo
SerializationInfo

Die mit Daten zu füllende SerializationInfo.The SerializationInfo to populate with data.

streamingContext
StreamingContext

Ein StreamingContext, der das Ziel für diese Serialisierung angibt.A StreamingContext that specifies the destination for this serialization.

Hinweise

Alle in enthaltenen Objekte SerializationInfo werden vom Formatierer automatisch nachverfolgt und serialisiert.Any objects included in the SerializationInfo are automatically tracked and serialized by the formatter.

Gilt für: