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
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET