Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the instance of the SerializationInfo class with information about the exception.
Namespace:   Microsoft.Management.Infrastructure
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Syntax
public override void GetObjectData(
    SerializationInfo info,
    StreamingContext context
)
public:
virtual void GetObjectData(
    SerializationInfo^ info,
    StreamingContext context
) override
override GetObjectData : 
        info:SerializationInfo *
        context:StreamingContext -> unit
Public Overrides Sub GetObjectData (
    info As SerializationInfo,
    context As StreamingContext
)
Parameters
- info 
 Type: System.Runtime.Serialization.SerializationInfo- A SerializationInfo object that holds the serialized object data about the exception being thrown. 
- context 
 Type: System.Runtime.Serialization.StreamingContext- A StreamingContext structure that contains contextual information about the source or destination. 
Implements
ISerializable.GetObjectData(SerializationInfo, StreamingContext) _Exception.GetObjectData(SerializationInfo, StreamingContext)
See Also
CimException Class
Microsoft.Management.Infrastructure Namespace
Return to top