語言

ContentProviderOperation.IsExceptionAllowed 屬性

定義

若此操作允許後續操作繼續,即使拋出例外,則返回 true。

public virtual bool IsExceptionAllowed { [Android.Runtime.Register("isExceptionAllowed", "()Z", "GetIsExceptionAllowedHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("isExceptionAllowed", "()Z", "GetIsExceptionAllowedHandler", ApiSince=30)>]
member this.IsExceptionAllowed : bool

屬性值

若此操作允許後續操作繼續,即使拋出例外,則返回 true。 當為真時,遇到的任何例外都會透過 ContentProviderResult.exception 回傳。

屬性

備註

若此操作允許後續操作繼續,即使拋出例外,則返回 true。 當為真時,遇到的任何例外都會透過 ContentProviderResult#exception返回。

Java 文件 android.content.ContentProviderOperation.isExceptionAllowed()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於