ContentProvider.ClearCallingIdentity 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重置当前线程上传入 IPC 的标识。
[Android.Runtime.Register("clearCallingIdentity", "()Landroid/content/ContentProvider$CallingIdentity;", "", ApiSince=29)]
public Android.Content.ContentProvider.CallingIdentity ClearCallingIdentity();
[<Android.Runtime.Register("clearCallingIdentity", "()Landroid/content/ContentProvider$CallingIdentity;", "", ApiSince=29)>]
member this.ClearCallingIdentity : unit -> Android.Content.ContentProvider.CallingIdentity
返回
返回一个不透明令牌,该令牌可用于通过将原始调用标识传递给它来还原它 #restoreCallingIdentity。
- 特性
注解
Java文档android.content.ContentProvider.clearCallingIdentity()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。