GetObjectData(SerializationInfo, StreamingContext) method

Sets the SerializationInfo with information about the exception.

Visual Basic syntax

Public Overrides Sub GetObjectData (ByVal info As SerializationInfo, ByVal context As StreamingContext)

C# syntax

public override void GetObjectData (SerializationInfo info, StreamingContext context)

Parameters

Usage

Overrides Exception.GetObjectData.