Export (0) Print
Expand All

ConfigurationException.GetObjectData Method

Populates the SerializationInfo object with the data needed to serialize the ConfigurationException object.

[Visual Basic]
Overrides Public Sub GetObjectData( _
   ByVal info As SerializationInfo, _
   ByVal context As StreamingContext _
) Implements ISerializable.GetObjectData
[C#]
public override void GetObjectData(
 SerializationInfo info,
 StreamingContext context
);
[C++]
public: void GetObjectData(
 SerializationInfo* info,
 StreamingContext context
);
[JScript]
public override function GetObjectData(
   info : SerializationInfo,
 context : StreamingContext
);

Parameters

info
A SerializationInfo containing the information required to serialize the new configuration exception .
context
A StreamingContext containing the source and destination of the serialized stream associated with the new configuration exception.

Implements

ISerializable.GetObjectData

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

ConfigurationException Class | ConfigurationException Members | System.Configuration Namespace

Show:
© 2014 Microsoft