public class WindowsAdministrationException : Exception An operational failure retaining the original Windows error identity.
Constructors
WindowsAdministrationException
public WindowsAdministrationException(string operation, AdministrationErrorCategory category, NativeErrorDomain nativeErrorDomain, int nativeErrorCode, string message, Exception? innerException = null) Creates an administration failure. Do not include credentials in operation or message.
Properties
NativeErrorCode
public int NativeErrorCode { get; } The unmodified native error number.
NativeErrorDomain
public NativeErrorDomain NativeErrorDomain { get; } The domain of the native error.
Operation
public string Operation { get; } The failed operation, without credentials or connection secrets.