Share via


CimException.StatusCode Property

 

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.

Namespace:   Microsoft.Management.Infrastructure
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public uint StatusCode { get; }
public:
property unsigned int StatusCode {
    unsigned int get();
}
member StatusCode : uint32 with get
Public ReadOnly Property StatusCode As UInteger

Property Value

Type: System.UInt32

The CIM status code.

Remarks

Not all status codes are valid for each operation. The specification for each operation should define the status codes that can be returned by that operation.

See Also

CimException Class
Microsoft.Management.Infrastructure Namespace

Return to top