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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για