Sets the SerializationInfo with all of the data needed to serialize the target object.
[Visual Basic] Overrides Public Sub SetObjectData( _ ByVal info As SerializationInfo, _ ByVal context As StreamingContext _ ) [C#] public override void SetObjectData( SerializationInfo info, StreamingContext context ); [C++] public: override void SetObjectData( SerializationInfo* info, StreamingContext context ); [JScript] public override function SetObjectData( info : SerializationInfo, context : StreamingContext );
The SerializationInfo data.
SerializationInfo object must to return data; if it is null, then SerialzationInfo will throw an ArgumentNullException.
TypeLoadException Class | TypeLoadException Members | System Namespace