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!

ArgumentOutOfRangeException.GetObjectData

Returns a SerializationInfo object completely populated with all the data needed to serialize the target object.

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

Parameters

info
The informtion needed for serialization (see SerializationInfo).
context
[To be supplied.]

Return Value

A SerializationInfo with all the data need to serialize the object

Exceptions

Exception Type Condition
ArgumentNullException If it is null.

Remarks

The SerializationInfo object must return data because if it is null, the SerializationInfo will thrown an ArgumentNullException.

See Also

ArgumentOutOfRangeException Class | ArgumentOutOfRangeException Members | System Namespace