This documentation is archived and is not being maintained.

HttpWebRequest.ISerializable.GetObjectData Method

.NET Framework 1.1

Populates a SerializationInfo with the data needed to serialize the target object.

[Visual Basic]
Private Sub GetObjectData( _
   ByVal serializationInfo As SerializationInfo, _
   ByVal streamingContext As StreamingContext _
) Implements ISerializable.GetObjectData
[C#]
void ISerializable.GetObjectData(
   SerializationInfo serializationInfo,
 StreamingContext streamingContext
);
[C++]
private: void ISerializable::GetObjectData(
 SerializationInfo* serializationInfo,
 StreamingContext streamingContext
);
[JScript]
private function ISerializable.GetObjectData(
   serializationInfo : SerializationInfo,
 streamingContext : StreamingContext
);

Parameters

serializationInfo
The SerializationInfo to populate with data.
streamingContext
The destination (see StreamingContext) for this serialization.

Implements

ISerializable.GetObjectData

Remarks

Any objects included in the SerializationInfo are automatically tracked and serialized by the formatter.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

HttpWebRequest Class | HttpWebRequest Members | System.Net Namespace

Show: