Compartir a través de


CoreWebView2SaveAsUIResult Enum

Definition

Status of a programmatic Save As call. Indicates the result of the ShowSaveAsUIAsync() method.

public enum CoreWebView2SaveAsUIResult
type CoreWebView2SaveAsUIResult = 
Public Enum CoreWebView2SaveAsUIResult
Inheritance
CoreWebView2SaveAsUIResult

Fields

Cancelled 4

Did not perform Save As because the end user cancelled or the Cancel was set to TRUE.

FileAlreadyExists 2

Could not perform Save As because the destination file path already exists and replacing files was not allowed by the AllowReplace property.

InvalidPath 1

Could not perform Save As because the destination file path is an invalid path. The path is invalid when it is empty, a relative path, or a directory, or when the parent path does not exist.

KindNotSupported 3

Could not perform Save As because the Kind property selection is not supported due to content MIME type or system limits. See CoreWebView2SaveAsKind for MIME type limits. System limits include when the HtmlOnly kind is selected for an error page at child mode, or when the Complete kind is selected and the WebView is running in an App Container.

Success 0

The ShowSaveAsUIAsync method call completed successfully. By default, the system Save As dialog opens. If SuppressDefaultDialog is set to TRUE, the system dialog is skipped and the download is started.

Applies to