NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

TypeLoadException.SetObjectData

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
);

Parameters

info
The object to be populated.
context
The context for the serialization (see StreamingContext).

Return Value

The SerializationInfo data.

Remarks

SerializationInfo object must to return data; if it is null, then SerialzationInfo will throw an ArgumentNullException.

See Also

TypeLoadException Class | TypeLoadException Members | System Namespace