/// <summary> /// Creates an exception from a NT status value. /// </summary> /// <param name="status">The NT status value.</param> public WindowsException(NtStatus status) { _status = status; _errorCode = status.ToDosError(); _isNtStatus = true; }