Accesses the method that contains the context of the data from the source or destination.
[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 );
A serialized object is returned as context by StreamingContext.
The GetObjectData method accesses StreamingContext to return the value of hte source and/or destination of a given serialized stream. (For more information, see SerializationInfo.)
ArgumentException Class | ArgumentException Members | System Namespace