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!

RuntimeTypeHandle.GetObjectData

Returns a SerializationInfo completely populated with all the data needed to reinstantiate the object at the other end of serialization.

[Visual Basic]
Overridable Public Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
)
[C#]
public virtual void GetObjectData(
   SerializationInfo info,
   StreamingContext context
);
[C++]
public: virtual void GetObjectData(
   SerializationInfo* info,
   StreamingContext context
);
[JScript]
public function GetObjectData(
   info : SerializationInfo,
   context : StreamingContext
);

Parameters

info
The object to be populated with serialization information.
context
[To be supplied.]

Exceptions

Exception Type Condition
ArgumentNullException if info is a null reference (in Visual Basic Nothing)
SerializationException if the handle is in an invalid state

See Also

RuntimeTypeHandle Structure | RuntimeTypeHandle Members | System Namespace