EventLogException.GetObjectData Method
.NET Framework 4
Sets the SerializationInfo object with information about the exception.
Assembly: System.Core (in System.Core.dll)
[SecurityPermissionAttribute(SecurityAction.LinkDemand, Flags = SecurityPermissionFlag.SerializationFormatter)] public override void GetObjectData( SerializationInfo info, StreamingContext context )
Parameters
- info
- Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo object that holds the serialized object data about the exception thrown.
- context
- Type: System.Runtime.Serialization.StreamingContext
The StreamingContext object that contains contextual information about the source or destination.
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext)ISerializable.GetObjectData(SerializationInfo, StreamingContext)
_Exception.GetObjectData(SerializationInfo, StreamingContext)
Windows 7, Windows Vista SP1 or later, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.