CoreWebView2DownloadInterruptReason Enum
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.
The reason why the CoreWebView2DownloadOperation was interrupted.
public enum CoreWebView2DownloadInterruptReason
type CoreWebView2DownloadInterruptReason =
Public Enum CoreWebView2DownloadInterruptReason
- Inheritance
-
CoreWebView2DownloadInterruptReason
Fields
DownloadProcessCrashed | 29 | WebView crashed. |
FileAccessDenied | 2 | Access denied due to security restrictions. |
FileBlockedByPolicy | 8 | File blocked by local policy. |
FileFailed | 1 | Generic file error. |
FileHashMismatch | 11 | Partial file did not match the expected hash and was deleted. Download will be restarted automatically. |
FileMalicious | 6 | Microsoft Defender Smartscreen detected a virus in the file. |
FileNameTooLong | 4 | Result file path with file name is too long. |
FileNoSpace | 3 | Disk full. User should free some space or choose a different location to store the file. |
FileSecurityCheckFailed | 9 | Security check failed unexpectedly. Microsoft Defender SmartScreen could not scan this file. |
FileTooLarge | 5 | File is too large for file system. |
FileTooShort | 10 | Seeking past the end of a file in opening a file, as part of resuming an interrupted download. The file did not exist or was not as large as expected. Partially downloaded file was truncated or deleted, and download will be restarted automatically. |
FileTransientError | 7 | File was in use, too many files opened, or out of memory. |
NetworkDisconnected | 14 | Network connection lost. User can retry the download manually. |
NetworkFailed | 12 | Generic network error. User can retry the download manually. |
NetworkInvalidRequest | 16 | Network request invalid because original or redirected URI is invalid, has an unsupported scheme, or is disallowed by network policy. |
NetworkServerDown | 15 | Server has gone down. User can retry the download manually. |
NetworkTimeout | 13 | Network operation timed out. |
None | 0 | No interrupt reason. |
ServerBadContent | 19 | Server does not have the requested data. |
ServerCertificateProblem | 21 | Server certificate problem. |
ServerContentLengthMismatch | 24 | Server sent fewer bytes than the Content-Length header. Content-Length header may be invalid or connection may have closed. Download is treated as complete unless there are strong validators present to interrupt the download. |
ServerCrossOriginRedirect | 25 | Unexpected cross-origin redirect. |
ServerFailed | 17 | Generic server error. User can retry the download manually. |
ServerForbidden | 22 | Server access forbidden. |
ServerNoRange | 18 | Server does not support range requests. |
ServerUnauthorized | 20 | Server did not authorize access to resource. |
ServerUnexpectedResponse | 23 | Unexpected server response. Responding server may not be intended server. User can retry the download manually. |
UserCanceled | 26 | User canceled the download. |
UserPaused | 28 | User paused the download. |
UserShutdown | 27 | User shut down the WebView. Resuming downloads that were interrupted during shutdown is not yet supported. |