ContentProviderOperation.Builder.WithExceptionAllowed(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
If set to true, this operation allows subsequent operations to continue even if this operation throws an exception. When true, any encountered exception is returned via ContentProviderResult.exception .
[Android.Runtime.Register("withExceptionAllowed", "(Z)Landroid/content/ContentProviderOperation$Builder;", "GetWithExceptionAllowed_ZHandler", ApiSince=30)]
public virtual Android.Content.ContentProviderOperation.Builder WithExceptionAllowed(bool exceptionAllowed);
[<Android.Runtime.Register("withExceptionAllowed", "(Z)Landroid/content/ContentProviderOperation$Builder;", "GetWithExceptionAllowed_ZHandler", ApiSince=30)>]
abstract member WithExceptionAllowed : bool -> Android.Content.ContentProviderOperation.Builder
override this.WithExceptionAllowed : bool -> Android.Content.ContentProviderOperation.Builder
Parameters
- exceptionAllowed
- Boolean
Whether the operation is allowed to return an exception.
Returns
This value cannot be null .
- Attributes
Remarks
If set to true, this operation allows subsequent operations to continue even if this operation throws an exception. When true, any encountered exception is returned via ContentProviderResult.exception .
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.