ValueTaskSourceStatus 枚举

定义

指示 IValueTaskSourceIValueTaskSource<TResult> 的状态。Indicates the status of an IValueTaskSource or IValueTaskSource<TResult>.

public enum class ValueTaskSourceStatus
public enum ValueTaskSourceStatus
type ValueTaskSourceStatus = 
Public Enum ValueTaskSourceStatus
继承
ValueTaskSourceStatus

字段

Canceled 3

操作因取消操作而完成。The operation completed due to cancellation.

Faulted 2

操作已完成但有错误。The operation completed with an error.

Pending 0

操作尚未完成。The operation has not yet completed.

Succeeded 1

操作已成功完成。The operation completed successfully.

适用于