CimException.GetObjectData Method (SerializationInfo, StreamingContext)
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.SerializationInfoA SerializationInfo object that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.Serialization.StreamingContextA 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