[This is preliminary documentation and is subject to change.]

When overridden in a derived class, sets the SerializationInfo with information about the exception.

Namespace: Simple.Web.RoutingSimple.Web.RoutingSimple::Web::Routing
Assembly: Simple.Web (in Simple.Web.dll)

Syntax

C#

public override void GetObjectData(

)

VB

Public Overrides Sub GetObjectData( _

info As SerializationInfo, _

context As StreamingContext _

)

C++

public:

virtual void GetObjectData(

sealed

Parameters

Implements

ISerializable.GetObjectData(SerializationInfo, StreamingContext)ISerializable.GetObjectData(SerializationInfo, StreamingContext)ISerializable::GetObjectData(SerializationInfo^, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)_Exception.GetObjectData(SerializationInfo, StreamingContext)_Exception::GetObjectData(SerializationInfo^, StreamingContext)

Exceptions

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

See Also

RoutingExceptionRoutingExceptionRoutingException Class
Simple.Web.RoutingSimple.Web.RoutingSimple::Web::Routing Namespace