语言

CacheManager.StartCacheTransaction 方法

定义

注意

deprecated

启动缓存事务。

[Android.Runtime.Register("startCacheTransaction", "()Z", "")]
[System.Obsolete("deprecated")]
public static bool StartCacheTransaction();
[<Android.Runtime.Register("startCacheTransaction", "()Z", "")>]
[<System.Obsolete("deprecated")>]
static member StartCacheTransaction : unit -> bool

返回

true 如果这是唯一正在运行的事务,则为

特性

注解

启动缓存事务。 如果这是唯一正在运行的事务,则 true 返回。 否则,此事务嵌套在当前正在运行的事务中,并 false 返回。

此成员已弃用。 此方法不再有任何效果,并且始终返回 false。

Java文档android.webkit.CacheManager.startCacheTransaction()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于