System.IO.__Error.WinIODriveError C# (CSharp) Method

WinIODriveError() static private method

static private WinIODriveError ( String driveName, int errorCode ) : void
driveName String
errorCode int
return void
        internal static void WinIODriveError(String driveName, int errorCode)
        {
            switch (errorCode) {
            case Win32Native.ERROR_PATH_NOT_FOUND:
            case Win32Native.ERROR_INVALID_DRIVE:
                throw new DriveNotFoundException(String.Format(CultureInfo.CurrentCulture, Environment.GetResourceString("IO.DriveNotFound_Drive"), driveName));

            default: 
                WinIOError(errorCode, driveName);                
                break;
            }
        }
    

Same methods

__Error::WinIODriveError ( String driveName ) : void