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!

Delegate.GetObjectData

Implements the ISerializable interface and returns the data needed to serialize the Delegate.

[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
A SerializationInfo object containing information required to serialize the Delegate.
context
A StreamingContext object containing the source and destination of the serialized stream associated with the Delegate.

Return Value

None.

Exceptions

Exception Type Condition
ArgumentNullException info is a null reference (in Visual Basic Nothing).

Remarks

This method can be overridden by a derived class.

See Also

Delegate Class | Delegate Members | System Namespace | ISerializable | SerializationInfo | StreamingContext