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()。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。