UnconstrainedTransferRequestResult.IsUnconstrained 属性

定义

获取一个值,该值指示下载或上传操作是否会在电池上运行时通常与后台网络操作关联的资源限制运行。

public:
 property bool IsUnconstrained { bool get(); };
bool IsUnconstrained();
/// [get: Windows.Foundation.Metadata.Deprecated("IsUnconstrained is deprecated and may not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
bool IsUnconstrained();
public bool IsUnconstrained { get; }
public bool IsUnconstrained { [Windows.Foundation.Metadata.Deprecated("IsUnconstrained is deprecated and may not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")] get; }
var boolean = unconstrainedTransferRequestResult.isUnconstrained;
Public ReadOnly Property IsUnconstrained As Boolean

属性值

Boolean

bool

如果操作运行不受约束,则为 true;否则为 false

属性

适用于