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!

Exception.GetObjectData

Accesses the method that contains the context of the data from the source or destination.

[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 serialized object.
context
[To be supplied.]

Return Value

A serialized object is returned as context by StreamingContext.

Remarks

The GetObjectData method accesses StreamingContext to return the value of the source and/or destination of a given serialized stream. (For more information, see SerializationInfo.)

See Also

Exception Class | Exception Members | System Namespace