InstancePersistenceContext Members

Include Protected Members
Include Inherited Members

Include .NET Framework Members

Include .NET Compact Framework Members
Include XNA Framework Members

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents execution state information while a persistence command is being executed.

The InstancePersistenceContext type exposes the following members.

Methods

  Name Description
Public method AssociatedInstanceKey Sets the instance key state of the key view to Associated.
Public method BeginBindReclaimedLock Begin an asynchronous operation to bind a reclaimed lock to the instance view.
Public method BeginExecute Begins executing a persistence command asynchronously.
Public method BindAcquiredLock Binds a newly acquired lock on an instance with the instance view.
Public method BindInstance Binds an instance whose identifier is specified as a parameter with the instance view.
Public method BindInstanceOwner Creates an InstanceOwner object based on the owner identifier and lock token parameters only if an InstanceOwner object does not exist for the owner and binds the instance owner to the instance view.
Public method BindReclaimedLock Binds an existing lock on an instance using a different version with the instance view.
Public method CompletedInstance Sets the instance state of the instance view to Completed.
Public method CompletedInstanceKey Sets the state of the instance key to Completed.
Public method CreateBindReclaimedLockException Creates an instance of the CreateBindReclaimedLockException(Int64).
Public method EndBindReclaimedLock Ends the asynchronous operation started by the BeginBindReclaimedLock(Int64, TimeSpan, AsyncCallback, Object) method.
Public method EndExecute Ends the asynchronous operation.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Execute Executes a persistence command.
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method LoadedInstance Reads the instance data and all associated instance keys.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PersistedInstance Sets the instance data of the instance view using the information passed in the parameter. In addition, sets the instance status to Initialized.
Public method QueriedInstanceStore Adds the InstanceStoreQueryResult passed as a parameter to a list of InstanceStoreQueryResult objects in an InstanceView.
Public method ReadInstanceKeyMetadata Sets the instance key metadata by using the information passed as a parameter.
Public method ReadInstanceMetadata Sets the instance metadata by using the information passed in the parameter.
Public method ReadInstanceOwnerMetadata Sets the instance owner metadata using the data passed in the parameter.
Public method SetCancellationHandler Sets the cancellation handler to be called when the cancel of an operation is requested.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method UnassociatedInstanceKey Un-associates an instance key with the instance view.
Public method WroteInstanceKeyMetadataValue Updates the metadata of an instance key by using the key and value information in the parameters.
Public method WroteInstanceMetadataValue Updates the metadata of an instance by using the information passed as parameters.
Public method WroteInstanceOwnerMetadataValue Updates the metadata for an instance by using the information passed using parameters.

Top

Properties

  Name Description
Public property InstanceHandle Gets the handle to an instance.
Public property InstanceVersion Gets the version of an instance.
Public property InstanceView Gets the instance view object.
Public property LockToken Gets the lock token object.
Public property UserContext Gets the user context information.

Top

See Also

Reference

InstancePersistenceContext Class

System.Runtime.Persistence Namespace