Share via


ContentProviderOperation Class

Definition

Represents a single operation to be performed as part of a batch of operations.

[Android.Runtime.Register("android/content/ContentProviderOperation", DoNotGenerateAcw=true)]
public class ContentProviderOperation : Java.Lang.Object, Android.OS.IParcelable, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/content/ContentProviderOperation", DoNotGenerateAcw=true)>]
type ContentProviderOperation = class
    inherit Object
    interface IParcelable
    interface IJavaObject
    interface IDisposable
    interface IJavaPeerable
Inheritance
ContentProviderOperation
Attributes
Implements

Remarks

Represents a single operation to be performed as part of a batch of operations.

Java documentation for android.content.ContentProviderOperation.

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.

Constructors

ContentProviderOperation(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Creator
Handle

The handle to the underlying Android instance.

(Inherited from Object)
IsAssertQuery

Returns true if the operation represents an assert query.

IsCall

Returns true if the operation represents a ContentProvider#call operation.

IsDelete

Returns true if the operation represents a ContentProvider#delete operation.

IsExceptionAllowed

Returns true if this operation allows subsequent operations to continue even if this operation throws an exception.

IsInsert

Returns true if the operation represents a ContentProvider#insert operation.

IsReadOperation

Returns true if the operation represents an assert query.

IsUpdate

Returns true if the operation represents a ContentProvider#update operation.

IsWriteOperation

Returns true if the operation represents an insertion, deletion, or update.

IsYieldAllowed

Returns true if the operation allows yielding the database to other transactions if the database is contended.

JniIdentityHashCode (Inherited from Object)
JniPeerMembers
PeerReference (Inherited from Object)
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Uri

Gets the Uri for the target of the operation.

Methods

Apply(ContentProvider, ContentProviderResult[], Int32)

Applies this operation using the given provider.

Clone()

Creates and returns a copy of this object.

(Inherited from Object)
DescribeContents()

Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
NewAssertQuery(Uri)

Create a Builder suitable for building a ContentProviderOperation to assert a set of values as provided through Builder#withValues(ContentValues).

NewCall(Uri, String, String)

Create a Builder suitable for building an operation that will invoke ContentProvider#call.

NewDelete(Uri)

Create a Builder suitable for building an operation that will invoke ContentProvider#delete.

NewInsert(Uri)

Create a Builder suitable for building an operation that will invoke ContentProvider#insert.

NewUpdate(Uri)

Create a Builder suitable for building an operation that will invoke ContentProvider#update.

Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
ResolveExtrasBackReferences(ContentProviderResult[], Int32)

Return the extras for this operation after resolving any requested back-references using the given results.

ResolveSelectionArgsBackReferences(ContentProviderResult[], Int32)

Return the selection arguments for this operation after resolving any requested back-references using the given results.

ResolveValueBackReferences(ContentProviderResult[], Int32)

Return the values for this operation after resolving any requested back-references using the given results.

SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
WriteToParcel(Parcel, ParcelableWriteFlags)

Flatten this object in to a Parcel.

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to