AbstractThreadedSyncAdapter.OnSecurityException 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
報告在呼叫 #onPerformSync前開啟內容提供者時出現安全例外。
[Android.Runtime.Register("onSecurityException", "(Landroid/accounts/Account;Landroid/os/Bundle;Ljava/lang/String;Landroid/content/SyncResult;)V", "GetOnSecurityException_Landroid_accounts_Account_Landroid_os_Bundle_Ljava_lang_String_Landroid_content_SyncResult_Handler", ApiSince=23)]
public virtual void OnSecurityException(Android.Accounts.Account? account, Android.OS.Bundle? extras, string? authority, Android.Content.SyncResult? syncResult);
[<Android.Runtime.Register("onSecurityException", "(Landroid/accounts/Account;Landroid/os/Bundle;Ljava/lang/String;Landroid/content/SyncResult;)V", "GetOnSecurityException_Landroid_accounts_Account_Landroid_os_Bundle_Ljava_lang_String_Landroid_content_SyncResult_Handler", ApiSince=23)>]
abstract member OnSecurityException : Android.Accounts.Account * Android.OS.Bundle * string * Android.Content.SyncResult -> unit
override this.OnSecurityException : Android.Accounts.Account * Android.OS.Bundle * string * Android.Content.SyncResult -> unit
參數
- account
- Account
那個試圖同步的帳號
- extras
- Bundle
SyncAdapter 專用參數
- authority
- String
失敗同步請求的權限
- syncResult
- SyncResult
SyncAdapter 專用參數
- 屬性
備註
報告在呼叫 #onPerformSync前開啟內容提供者時出現安全例外。 這會被視為同步資料庫故障。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。