Sets the SerializationInfo object with the file name and additional exception information.
<ComVisibleAttribute(False)> _ Public Overridable Sub GetObjectData ( _ info As SerializationInfo, _ context As StreamingContext _ )
[ComVisibleAttribute(false)] public virtual void GetObjectData( SerializationInfo info, StreamingContext context )
[ComVisibleAttribute(false)] public: virtual void GetObjectData( SerializationInfo^ info, StreamingContext context )
[<ComVisibleAttribute(false)>] abstract GetObjectData : info:SerializationInfo * context:StreamingContext -> unit [<ComVisibleAttribute(false)>] override GetObjectData : info:SerializationInfo * context:StreamingContext -> unit
For a list of common I/O tasks, see Common I/O Tasks.
for permission to access information about the path described by the current instance. Associated enumeration: PathDiscovery
Security action: Demand
for permission to link to this class. Associated enumeration: SerializationFormatter
Security action: Link Demand
requires full trust for the immediate caller. This member cannot be used by partially trusted or transparent code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2