System.Web.HttpParseException.GetObjectData Method

When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo object with information about the exception.

Syntax

public override void GetObjectData (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext ctx)

Parameters

ctx
Documentation for this section has not yet been entered.
info
The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.

Remarks

The HttpParseException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) method sets a System.Runtime.Serialization.SerializationInfo object with all the exception object data targeted for serialization. During deserialization, the exception is reconstituted from the SerializationInfo transmitted over the stream.

Requirements

Namespace: System.Web
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0