WarningException::GetObjectData Method (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Sets the SerializationInfo with the parameter name and additional exception information.
Assembly: System (in System.dll)
public: [SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)] virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) override
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
Stores the data that was being used to serialize or deserialize the object that the CodeDomSerializer was serializing or deserializing.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
Describes the source and destination of the stream that generated the exception, as well as a means for serialization to retain that context and an additional caller-defined context.
| Exception | Condition |
|---|---|
| ArgumentNullException | info is null. |
.NET Framework
Available since 2.0
Available since 2.0
Show: