When overridden in a derived class, sets the Info with information about the exception.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable Sub GetObjectData( _
ByVal info As System.Runtime.Serialization.SerializationInfo, _
ByVal context As System.Runtime.Serialization.StreamingContext _
) |
C# | |
---|
public virtual void GetObjectData(
System.Runtime.Serialization.SerializationInfo info,
System.Runtime.Serialization.StreamingContext context
) |
Parameters
- info
- SerializationInfo.
- context
- StreamingContext.
See Also