ManagementException::GetObjectData Method (SerializationInfo^, StreamingContext)
.NET Framework (current version)
Populates the SerializationInfo with the data needed to serialize the ManagementException.
Assembly: System.Management (in System.Management.dll)
public: [SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter = true)] virtual void GetObjectData( SerializationInfo^ info, StreamingContext context ) override
Parameters
- info
-
Type:
System.Runtime.Serialization::SerializationInfo^
The SerializationInfo to populate with data.
- context
-
Type:
System.Runtime.Serialization::StreamingContext
The StreamingContext destination for this serialization.
Full trust for the immediate caller. This member cannot be used by partially-trusted code. For more information, see Using Libraries from Partially Trusted Code.
.NET Framework
Available since 1.1
Available since 1.1
Show: