ManagementException.ErrorCode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the error code reported by WMI, which caused this exception.
public:
property System::Management::ManagementStatus ErrorCode { System::Management::ManagementStatus get(); };
public System.Management.ManagementStatus ErrorCode { get; }
member this.ErrorCode : System.Management.ManagementStatus
Public ReadOnly Property ErrorCode As ManagementStatus
Property Value
One of the enumeration values that indicates the error code.
Remarks
Property Value
A ManagementStatus value representing the error code returned by the WMI operation.
.NET Framework Security
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.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.