CimException Class
Represents an exception that has occurred during a CIM operation.
Namespace: Microsoft.Management.Infrastructure
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.Management.Infrastructure.CimException
Syntax
[SerializableAttribute]
public class CimException : Exception, IDisposable
[SerializableAttribute]
public ref class CimException : Exception, IDisposable
[<SerializableAttribute>]
type CimException =
class
inherit Exception
interface IDisposable
end
<SerializableAttribute>
Public Class CimException
Inherits Exception
Implements IDisposable
Constructors
Name | Description | |
---|---|---|
![]() |
CimException() | Initializes a new instance of the CimException class. |
![]() |
CimException(CimInstance) | Initializes a new instance of the CimException class. |
![]() |
CimException(SerializationInfo, StreamingContext) | Initializes a new instance of the CimException class. |
![]() |
CimException(String) | Initializes a new instance of the CimException class. |
![]() |
CimException(String, Exception) | Initializes a new instance of the CimException class. |
Properties
Name | Description | |
---|---|---|
![]() |
Data | (Inherited from Exception.) |
![]() |
ErrorData | Gets the error data of the exception. This is typically an instance of a standard CIM_Error class or derived class. |
![]() |
ErrorSource | Gets the identifying information of the instance that generated the error. |
![]() |
ErrorType | Gets the primary classification of the error. |
![]() |
HelpLink | (Inherited from Exception.) |
![]() |
HResult | (Inherited from Exception.) |
![]() |
InnerException | (Inherited from Exception.) |
![]() |
Message | (Inherited from Exception.) |
![]() |
MessageId | Gets the MessageId property that represents an opaque string that uniquely identifies the format of the message. |
![]() |
NativeErrorCode | Gets the native error code returned from the MI client API. |
![]() |
Source | (Inherited from Exception.) |
![]() |
StackTrace | (Inherited from Exception.) |
![]() |
StatusCode | Gets the CIM status code that characterizes this instance. This property defines the status codes that can be returned by a conforming CIM server or client. |
![]() |
TargetSite | (Inherited from Exception.) |
Methods
Name | Description | |
---|---|---|
![]() |
Dispose() | Releases resources that are associated with this object. |
![]() |
Dispose(Boolean) | Releases resources that are associated with this object. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetBaseException() | (Inherited from Exception.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetObjectData(SerializationInfo, StreamingContext) | Sets the instance of the SerializationInfo class with information about the exception.(Overrides Exception.GetObjectData(SerializationInfo, StreamingContext).) |
![]() |
GetType() | (Inherited from Exception.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Exception.) |
Events
Name | Description | |
---|---|---|
![]() |
SerializeObjectState | (Inherited from Exception.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Management.Infrastructure Namespace
Return to top