语言

IBackgroundOperationContext.IsCancelRequested 属性

定义

获取或设置一个值,表示用户是否请求取消该操作。

public:
 property bool IsCancelRequested { bool get(); void set(bool value); };
public bool IsCancelRequested { get; set; }
member this.IsCancelRequested : bool with get, set
Public Property IsCancelRequested As Boolean

属性值

true如果操作被取消;否则,。 false

适用于