Aracılığıyla paylaş


AsyncStatus Enum

Definition

Specifies the status of an asynchronous operation.

public enum class AsyncStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
enum class AsyncStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public enum AsyncStatus
var value = Windows.Foundation.AsyncStatus.canceled
Public Enum AsyncStatus
Inheritance
AsyncStatus
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (introduced in v1.0)

Fields

Started 0

The operation has started.

Completed 1

The operation has completed.

Canceled 2

The operation was canceled.

Error 3

The operation has encountered an error.

Remarks

This enumeration is used as a value for IAsyncInfo.Status (the basic status reporting mechanism for asynchronous operations) and also by specific operation implementations (for example GetSmsDeviceOperation.Status).

Applies to

See also