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

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:
 virtual void GetObjectData(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
protected virtual void GetObjectData (System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
abstract member GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit
override this.GetObjectData : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> unit

Parameter

serializationInfo
SerializationInfo SerializationInfo SerializationInfo

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

streamingContext
StreamingContext StreamingContext StreamingContext

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

Implementiert

Hinweise

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

Gilt für: