ContentProviderResult Constructors
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.
Overloads
| Name | Description |
|---|---|
| ContentProviderResult(Uri) | |
| ContentProviderResult(Bundle) |
Creates a content-provider operation result. |
| ContentProviderResult(Parcel) |
Initializes a content-provider result from a Parcel. |
| ContentProviderResult(Throwable) |
Creates a content-provider operation result. |
| ContentProviderResult(Int32) | |
| ContentProviderResult(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
ContentProviderResult(Uri)
[Android.Runtime.Register(".ctor", "(Landroid/net/Uri;)V", "")]
public ContentProviderResult(Android.Net.Uri uri);
[<Android.Runtime.Register(".ctor", "(Landroid/net/Uri;)V", "")>]
new Android.Content.ContentProviderResult : Android.Net.Uri -> Android.Content.ContentProviderResult
Parameters
- uri
- Uri
This value cannot be null .
- Attributes
Remarks
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.
Java documentation for android.content.ContentProviderResult.ContentProviderResult(android.net.Uri).
Applies to
ContentProviderResult(Bundle)
Creates a content-provider operation result.
[Android.Runtime.Register(".ctor", "(Landroid/os/Bundle;)V", "", ApiSince=30)]
public ContentProviderResult(Android.OS.Bundle extras);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Bundle;)V", "", ApiSince=30)>]
new Android.Content.ContentProviderResult : Android.OS.Bundle -> Android.Content.ContentProviderResult
Parameters
- extras
- Bundle
This value cannot be null .
- Attributes
Remarks
Creates a content-provider operation result.
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.
Applies to
ContentProviderResult(Parcel)
Initializes a content-provider result from a Parcel.
[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public ContentProviderResult(Android.OS.Parcel? source);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Content.ContentProviderResult : Android.OS.Parcel -> Android.Content.ContentProviderResult
Parameters
- source
- Parcel
The Parcel from which to read the content-provider result.
- Attributes
Remarks
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.
Applies to
ContentProviderResult(Throwable)
Creates a content-provider operation result.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=30)]
public ContentProviderResult(Java.Lang.Throwable exception);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "", ApiSince=30)>]
new Android.Content.ContentProviderResult : Java.Lang.Throwable -> Android.Content.ContentProviderResult
Parameters
- exception
- Throwable
This value cannot be null .
- Attributes
Remarks
Creates a content-provider operation result.
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.
Applies to
ContentProviderResult(Int32)
[Android.Runtime.Register(".ctor", "(I)V", "")]
public ContentProviderResult(int count);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Android.Content.ContentProviderResult : int -> Android.Content.ContentProviderResult
Parameters
- count
- Int32
The number of rows affected by the operation.
- Attributes
Remarks
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.
Java documentation for android.content.ContentProviderResult.ContentProviderResult(int).
Applies to
ContentProviderResult(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected ContentProviderResult(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Content.ContentProviderResult : nativeint * Android.Runtime.JniHandleOwnership -> Android.Content.ContentProviderResult
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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.