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

属性

适用于