System.Runtime.DurableInstancing
A persistence provider throws this exception when it expects an instance to be in an uninitialized state but the instance is not in that state.
Initializes an instance of the class.
Initializes a new instance of the class with serialized data.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class using the error message.
The reason for the exception.
Initializes an instance of the class using the error message and the inner exception information.
The reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, the error message that explains the reason for the current exception, and the inner exception information passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The reason for the exception.
The exception that caused the current exception.
A persistence provider throws this exception when it expects to find an instance in the initialized state, but finds the instance is in the completed state.
Initializes an instance of the class.
Initializes an instance of the class with serialized data.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class using the error message.
The reason for the exception.
Initializes an instance of the class using the error message and the inner exception information.
The reason for the exception.
The exception that causes the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, error message that explains the reason for the exception, and the exception that caused the current exception.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The reason for the exception.
The exception that caused the current exception.
Represents a handle to object.
Frees the instance handle.
Returns a value that indicates whether an instance handle is valid.
if the handle is valid; if the handle is not valid.
A persistence provider throws this exception when it tries to acquire write access to an instance by binding an instance handle to an instance lock, when an instance handle with write access to that instance already exists.
Initializes an instance of the class.
Initializes an instance of the class with serialized data.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class using the error message.
The reason for the exception.
Initializes an instance of the class using the error message and the inner exception information.
The reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, the error message that explains the reason for the current exception, and the inner exception information
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The reason for the exception.
The exception that caused the current exception.
Represents an instance key and contains an identifier and metadata associated with the instance key. An instance key acts as a non-unique alias for an instance.
Initializes an instance of the class using the GUID associated with the instance key passed.
The GUID associated with the instance key. Must not be Guid.Empty.
Initializes an instance of the class using the GUID and metadata associated with the instance key.
The GUID associated with the instance key. Must not be Guid.Empty.
The dictionary that contains metadata associated with the instance key or null.
Compares the GUID associated with the current object (stored in the property) with the GUID associated with the object.
An object that needs to be compared with the current object. Must not be null.
if the objects are same; otherwise returns .
Returns a unique hash code for the current object's GUID (stored in the Value property).
The unique hash code.
Returns an invalid object. An invalid object has Guid.Empty value for the property and a value for the property.
An invalid instance key.
Gets a value that indicates whether the instance key is valid.
if the instance key is valid; otherwise . An instance key is valid if and only if its GUID (stored in the Value property) is not Guid.Empty.
Gets the dictionary that contains metadata associated with the instance key.
The dictionary that contains metadata associated with the instance key. This dictionary is a read-only dictionary.
Gets the GUID value associated with the current instance key.
The GUID value associated with the current instance key.
A persistence provider throws this exception when it expects to find an instance key in the unassociated state, but finds the key in a different state.
Initializes an instance of the class.
Initializes an instance of the class with serialized data.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class with the error message passed as a parameter.
The reason for the exception.
Initializes an instance of the class with the error message and the inner exception information passed as parameters.
The reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class with the name of the command, ID of the instance against which the command was executed, instance key information, and the instance ID that is currently associated with the instance key passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the instance against which the command was executed. The command failed because the instance key is already associated with another instance whose ID is represented by the parameter.
The instance key information.
The ID of the instance that is currently associated with the instance key.
Initializes an instance of the class with the name of the command, ID of the instance against which the command was executed, instance key information, the instance ID that is currently associated with the instance key, and inner exception information passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the instance against which the command was executed. The command failed because the instance key is already associated with another instance whose ID is represented by the parameter.
The instance key information.
The ID of the instance that is currently associated with the instance key.
The exception that caused the current exception.
Initializes an instance of the class with the name of the command, ID of the instance against which the command was executed, instance key information, the instance ID that is currently associated with the instance key, the error message that describes the exception, and inner exception information passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the instance against which the command was executed. The command failed because the instance key is already associated with another instance whose ID is represented by the conflictingInstanceId parameter.
The instance key information.
The ID of the instance that is currently associated with the instance key.
The reason for the exception.
The exception that caused the current exception.
Gets the instance ID currently associated with the instance key. The persistence provider expects to find the instance key in an unassociated state, but the key is associated with this instance ID.
The instance ID. Returns Guid.Empty if the conflicting instance ID is not known.
Sets the object with information about the exception.
The serialized object data about the exception being thrown.
The contextual information about the source or the destination.
Contains information about the instance key.
The instance key information, or if the conflicting instance key is not known.
A persistence provider throws this exception when it expects to find an instance key in the associated state but finds the key in the completed state.
Initializes an instance of the class.
Initializes an instance of the class with the serialized data.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class using the error message.
The reason for the exception.
Initializes an instance of the class using the error message and the inner exception information.
The reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class using the name of the command, ID of the instance against which the command was executed, instance key information, the error message that explains the reason for the exception, and the inner exception (the exception that caused the current exception) passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the instance against which the command was executed.
The information about the instance key.
Error message that explains the reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class using the name of the command, and the instance key information.
The XName (the combination of namespace and name) of the command.
The information about the instance key.
Initializes an instance of the class using the name of the command, the instance key information, and the inner exception (the exception that caused the current exception).
The XName (the combination of namespace and name) of the command.
The information about the instance key.
The exception that caused the current exception.
Sets the object with information about the exception.
The serialized object data about the exception being thrown.
The contextual information about the source or the destination.
Contains information about the instance key.
The information about the instance key, or if the instance key is not known.
A persistence provider throws this exception when it expects to find an instance key in the associated state, but finds the key in the unassociated state.
Initializes an instance of the class.
Initializes an instance of the class with the serialized data.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class by using the error message.
The reason for the exception.
Initializes an instance of the class by using the error message and the inner exception information.
The reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class by using the name of the command, ID of the instance against which the command was executed, instance key information, the error message that explains the reason for the exception, and the inner exception (the exception that caused the current exception).
The XName (the combination of namespace and name) of the command.
The ID of the instance against which the command was executed.
The information about the instance key.
The reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class using the name of the command and the instance key information.
The XName (the combination of namespace and name) of the command.
The information about the instance key.
Initializes an instance of the class using the name of the command, the instance key information, and the inner exception (the exception that caused the current exception) passed as parameters.
The XName (the combination of namespace and name) of the command.
The information about the instance key.
The exception that caused the current exception.
Sets the object with information about the exception.
The serialized object data about the exception being thrown.
The contextual information about the source or the destination.
Contains information about the instance key.
The instance key, or if the instance key is not known.
Contains a list of valid states for instance keys.
The instance key is associated with a non-completed instance.
The instance key was associated with an instance, which is no longer active.
The instance key is not associated with any instance.
Provides a view into instance key information.
Gets the value of the instance key (GUID).
The value of the instance key.
Gets the metadata for the instance key as a dictionary of XNames and corresponding InstanceValue objects.
The metadata for the instance key.
Gets consistency of the metadata (None, In Doubt, or Partial) of the instance key.
The consistency of the metadata.
Gets the state of the instance key (Unassociated, Associated, or Completed).
The state of the instance key.
A persistence provider throws this exception when it is unable to acquire a lock on an instance because the instance is already locked by another owner.
Initializes an instance of the class.
Initializes an instance of the class with serialized data.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class by using the error message passed as a parameter.
The reason for the exception.
Initializes an instance of the class by using the error message and the inner exception information passed as parameters.
The reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, the ID of the owner that currently has a lock on the instance, and serializable metadata information of the owner passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The ID of the owner that currently has a lock on the instance.
Serializable metadata information about the instance owner (who has a lock on the instance).
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, the ID of the owner that currently has a lock on the instance, serializable metadata information about the owner, and the exception that caused the current exception passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The ID of the owner that currently has a lock on the instance.
Serializable metadata information about the instance owner (who has a lock on the instance).
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, the ID of the owner that currently has a lock on the instance, serializable metadata information about the owner, the error message that explains the reason for the exception, and the exception that caused the current exception passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The ID of the owner that currently has lock on the instance.
The serializable metadata information about the instance owner (who has a lock on the instance).
The error message that explains the reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, the error message that explains the reason for the exception, and the exception that caused the current exception passed as parameters.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The error message that explains the reason for the exception.
The exception that caused the current exception.
Sets the object with information about the exception.
The serialized object data about the exception being thrown.
An object that contains the contextual information about the source or destination.
Gets the GUID associated with the current instance owner (who currently has a lock on the instance).
The GUID associated with the current instance owner. Returns Guid.Empty if the current instance owner is not known.
Gets serializable metadata information about the current instance owner (who currently has a lock on the instance). When present, this consists of the subset of instance owner metadata which is serializable. The metadata may contain information such as the location of the instance owner, who currently owns the lock.
The serializable metadata information about the current instance owner (who currently has a lock on the instance).
A persistence provider throws this exception when it cannot perform the command because the lock on the instance does not match the lock associated with the instance handle against which the command was executed. Either the owner or the version does not match.
Initializes an instance of the class.
Initializes an instance of the class with serialized data.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class using the error message.
The reason for the exception.
Initializes an instance of the class using the error message and the inner exception information.
The reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, error message that explains the reason for the exception, and the exception that caused the current exception.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The reason for the exception.
The exception that caused the current exception.
Contains query result set represented by a dictionary of ID of instance and the instance owner which currently owns the lock on each instance.
Initializes an instance of the class with any empty query result set.
Initializes an instance of the class and sets the property using the dictionary of instance IDs and instance owner IDs.
A dictionary that represents the query result set. The dictionary has instance ID as the key and ID of the instance owner who owns the lock on the instance as the value.
Initializes an instance of the class and sets the property using a dictionary that contains the single query result represented by the instance ID and the instance owner ID.
The ID of the instance.
The ID of the instance owner who owns the lock on the instance represented by the parameter.
Gets a dictionary that contains the query result set. The query result set is represented by a dictionary, which has Instance ID as the key and the ID of the instance owner who owns the lock on the instance as the value.
The dictionary that contains instance IDs and instance owner IDs.
A persistence provider throws this exception when it expects to find an instance in an initialized state, but finds the instance in an uninitialized state.
Initializes an instance of the class.
Initializes an instance of the class with serialized data.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class using the error message.
The reason for the exception.
Initializes an instance of the class using the error message and the inner exception information.
The reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed, error message that explains the reason for the exception, and the exception that caused the current exception.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The reason for the exception.
The exception that caused the current exception.
Represents the owner of an instance in the instance store. An instance owner is an interaction participant with an instance in the instance store.
Gets ID of the instance owner as a GUID.
The ID of the instance owner.
A persistence provider throws this exception when the instance owner bound to the instance handle has become invalid.
Initializes an instance of the class.
Initializes an instance of the class with the serialized data.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class using the error message.
The reason for the exception.
Initializes an instance of the class using the error message and the inner exception information.
The reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command and the ID of the instance owner.
The XName (the combination of namespace and name) of the command.
The ID of the instance owner.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the instance owner, and the inner exception information.
The XName (the combination of namespace and name) of the command.
The ID of the instance owner.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the instance owner, error message that describes the exception, and the inner exception information.
The XName (the combination of namespace and name) of the command.
The ID of the instance owner.
Error message that describes the exception.
The exception that caused the current exception.
Sets the object with information about the exception.
The serialized object data about the exception being thrown.
The contextual information about the source or the destination.
Gets the ID of the instance owner.
The ID of the instance owner. Returns Guid.Empty if the instance owner is not known.
Contains a query result set consisting of metadata associated with an instance owner or instance owners that are retrieved from a persistence store.
Initializes an instance of the class with an empty query result set.
Initializes an instance of the class using the dictionary passed as a parameter that contains GUIDs associated with instance owners and dictionaries that contain metadata associated with these instance owners.
A dictionary that contains GUIDs and metadata of instance owners representing the query result set. Metadata itself is contained in additional dictionaries that contain names and values of metadata properties.
Initializes an instance of the class with a single query result consisting of the GUID of the instance owner and the metadata associated with that instance owner in the instance store passed as parameters.
GUID associated with the instance owner.
Metadata associated with the instance owner in a dictionary, (which contains the names of properties and their values).
Gets the query result set consisting of metadata associated with an instance owner or instance owners stored in a dictionary that contains the GUID of the instance owner as a key and the metadata stored in another dictionary of names and values of properties as the value.
The metadata associated with instance owners.
Base class for all persistence related commands. Commands are distinguished by their Name. Usually commands can also be distinguished by their derived type.
Initializes an instance of the class.
The XName (the combination of namespace and name) of the command.
Indicates whether the command could attempt to acquire a lock on the instance.
if the command acquires a lock on the instance;, otherwise . The default is .
Returns a value that indicates whether the persistence provider may choose not to enlist in the ambient transaction (Transaction.Currnet) when executing this command.
if enlisting in the transaction is optional for this command, otherwise .
Gets the name of the persistence command.
An XName (the combination of namespace and name).
Validates the command.
An object representing the current state of the instance handle.
A persistence provider throws this exception when an error occurs while processing a persistence command. The persistence provider may also free the instance handle against which the command was executed if the error would extend to future uses of the instance handle.
Initializes an instance of the class.
Initializes an instance of the class using the serialized data.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class using the error message.
The reason for the exception.
Initializes an instance of the class using the error message and the inner exception information.
The reason for the exception.
The inner exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command.
The XName (the combination of namespace and name) of the command.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command and the inner exception information.
The XName (the combination of namespace and name) of the command.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command and the ID of the target instance against which the command was executed.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, and the inner exception information.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, the ID of the target instance against which the command was executed, error message that explains the reason for the exception, and the exception that caused the current exception.
The XName (the combination of namespace and name) of the command.
The ID of the target instance against which the command was executed.
The reason for the exception.
The exception that caused the current exception.
Initializes an instance of the class using the XName (the combination of namespace and name) of the command, error message that explains the reason for the exception, and the exception that caused the current exception.
The XName (the combination of namespace and name) of the command.
The reason for the exception.
The exception that caused the current exception.
Sets the specified object with information about the .
The serialized object data about the exception being thrown.
The contextual information about the source or destination.
Gets the ID of the instance against which the command was executed.
The ID of the instance. Returns Guid.Empty if the instance is not known or the command does not involve a specific instance.
Represents execution state information while a persistence command is being executed.
Indicates that the persistence provider has successfully associated a key to the current instance in the instance store. The identifier of the key is specified as a parameter.
The instance key identifier for the key that has been associated. Must not be Guid.Empty.
Begin an asynchronous operation to bind an existing lock on an instance to the current instance handle. The version of the existing lock is passed as a parameter.
The version of the lock held on the instance, or zero if the persistence provider does not implement lock versions.
The timeout period for the asynchronous operation.
The method to be called when the operation is completed.
The state information associated with the asynchronous operation.
The status of an asynchronous operation.
Begins executing a persistence command asynchronously.
The persistence command to be executed.
The time-out value for the operation.
The delegate that receives the notification of the asynchronous receive that a request operation completes.
The state information.
The status of an asynchronous operation.
Binds a newly acquired lock on an instance to the current instance handle. The version of the acquired lock is passed as a parameter.
Version of the lock acquired on the instance, or zero if the persistence provider does not implement lock versions.
Binds an to an instance handle.
An object containing information about the event.
Binds an instance whose identifier is specified as a parameter to the current instance handle.
An instance identifier. Must not be Guid.Empty.
Binds an instance owner to the current instance handle.
The identifier for the instance owner.
The lock token of the instance owner. A persistence provider may choose to use the same value for the instance owner identifier and the owner's lock token.
Binds an existing lock on an instance to the current instance handle. The version of the existing lock is passed as a parameter.
Version of the lock held on the instance, or zero if the persistence provider does not implement lock versions.
The time-out value for the operation.
Indicates that the persistence provider has successfully marked the current instance as complete in the instance store.
Indicates that the persistence provider has successfully marked a key as complete in the external store. The identifier of the key is specified as a parameter.
The instance key identifier for the key that has been completed. Must not be Guid.Empty.
Creates an instance of an exception which can be thrown from TryCommand to trigger BindReclaimedLock behavior.
The version of the lock held on the instance, or zero if the persistence provider does not implement lock versions.
An exception.
Ends the asynchronous operation started by the method.
The result of the asynchronous operation.
Ends the asynchronous operation.
The status of an asynchronous operation.
Executes a persistence command.
The persistence command to be executed.
The time-out value for the operation.
Gets the current instance handle.
The current instance handle.
Gets the version of the lock held on the current instance by the current instance handle.
The version of the instance lock bound to the current instance handle, or -1 if the handle isn't bound to a lock.
Gets the instance view object that represents the in-memory state of the current instance. This view reflects updates as they are made by the command in progress.
The instance view object.
Indicates that the persistence provider has successfully retrieved the current instance from the instance store.
The instance state information.
The instance data as a dictionary of and objects.
Instance metadata as a collection of and objects.
Associated instance key metadata as a dictionary of instance identifier and instance key metadata, which is a dictionary of and objects.
Completed instance metadata as a dictionary of instance identifier and instance key metadata, which is a dictionary of and objects.
Gets the lock token of the instance owner bound to the current instance handle.
The lock token bound to the current instance handle, or if the handle isn't bound to an instance owner.
Indicates that the persistence provider has successfully persisted a set of instance data to the instance store. This has the effect of initializing the instance if it wasn't already.
Instance data as a dictionary of and objects.
Adds the passed as a parameter to a list of objects in an .
The results of a query against an instance store.
Indicates that the persistence provider has successfully read some instance key metadata for a key associated to the current instance from the instance store.
The instance key identifier for the key whose metadata was read. Must not be Guid.Empty.
The metadata as a dictionary of and objects.
if the metadata represents all of the metadata associated to the instance key; otherwise, .
Indicates that the persistence provider has successfully read some instance metadata for the current instance from the instance store.
The metadata as a dictionary of and objects.
if the metadata represents all of the metadata associated to the instance; otherwise, .
Sets the instance owner metadata using the data passed in the parameter.
The dictionary of and objects.
The value to specify whether the consistency to be set to or .
Sets the cancellation handler to be called when the cancel of an operation is requested.
The reference to a function to be called.
Indicates that the persistence provider has successfully disassociated a key from the current instance in the instance store. The identifier of the key is specified as a parameter.
The instance key identifier for the key that has been unassociated. Must not be Guid.Empty.
Gets the user context information attached to the current instance handle.
The user context information.
Indicates that the persistence provider has successfully written a metadata value for an instance key that is associated with the current instance to the instance store
The instance key identifier for the key. Must not be Guid.Empty.
The name of the metadata property.
The value of the metadata property.
Indicates that the persistence provider has successfully written a metadata value for the current instance to the external instance store.
The name of the metadata property.
The value of the metadata property.
Indicates that the persistence provider has successfully written a metadata value for the current instance owner to the instance store.
The name of the metadata property.
The value of the metadata property.
Represents an event that an instance store raises to notify hosts about a condition. Examples: and .
Determines whether the current object and the passed object converted as the are the same.
The object to be compared with the current object.
if the objects are same; otherwise, .
Determines whether the current object and the passed object are the same.
The object to be compared with the current object.
if the objects are same; otherwise, .
Returns the hash code for the instance.
The hash code for the instance.
Returns the XName (namespace combined with name) of the persistence event.
XName of the persistence event
Returns a value indicating whether the specified objects are the same.
The first object to compare.
The second object to compare.
if the two objects are the same; otherwise, .
Returns a value indicating whether the specified objects are not the same.
The first object to compare.
The second object to compare.
if the two objects are the same; otherwise, .
Represents an event that an instance store raises to notify hosts about a change. This is a generic class. Classes such as and derive from this class.
The type of the event.
Initializes an instance of the class using the XName parameter.
XName (namespace combined with name) of the event.
Returns the instance of the actual event object (for example: ).
The event object.
Base class for all the persistence related exception classes. The and the are derived classes of this class.
Initializes an instance of the class.
Initializes an instance of the class using the serialized information and the context information.
The information about the current exception.
The contextual information about the source or destination.
Initializes an instance of the class using the error message.
Error message that describes the current exception.
Initializes an instance of the class using the error message and inner exception information.
The reason for the current exception.
The exception that causes the current exception.
Initializes an instance of the class using the name of the command.
The XName (the combination of namespace and name) of the command.
Initializes an instance of the class by using the name of the command and the inner exception information.
The XName (the combination of namespace and name) of the command.
The exception that caused the current exception.
Initializes an instance of the class using the name of the command and the error message.
The XName (the combination of namespace and name) of the command.
The error message that describes the exception.
Initializes an instance of the class using the name of the command, error message, and inner exception information.
The XName (the combination of namespace and name) of the command.
The error message that describes the exception.
The exception that caused the current exception.
Gets the name of the command.
The name of the command, or if the command is not known.
Sets the with information about the exception.
The serialized object data about the exception being thrown.
The contextual information about the source or destination
This enumeration contains a list of states of an instance.
Indicates that the instance is in completed state. A completed instance cannot be persisted again in the future.
Indicates that the instance is initialized. An initialized instance is an instance that has been persisted at least once and can be persisted again in the future.
Indicates that the instance is uninitialized. An uninitialized instance is an instance that has never been persisted.
Indicates that the instance is in Unknown state.
Represents an instance store.
Initializes an instance of the class.
Asynchronously executes persistence commands such as and .
An instance handle.
The command to be executed.
The timeout value for the command execution.
The asynchronous callback delegate that receives notification of the completion of the asynchronous operation.
The state information.
The state of the asynchronous operation.
A persistence provider implements this method, which determines whether a particular persistence command can be executed. If the command can be executed, executes the command asynchronously.
The instance context.
The persistence command to be executed.
The timeout value for the command execution.
The asynchronous callback delegate that receives notification of the completion of the asynchronous operation.
The state information.
The state of the asynchronous operation.
Begins an asynchronous operation to listen for any events raised by the instance store for a specific instance handle.
An instance handle.
The period after which the operation times out.
The method to be called after the asynchronous operation is complete.
An object containing the state information associated with the asynchronous operation.
Returns an object.
Creates an instance handle.
The instance handle.
Creates an instance handle. If the DefaultInstanceOwner is set, the value is automatically bound as the new handle's instance owner. The instance identifier passed as a parameter is automatically bound as the new handle's instance.
An instance identifier. Must not be Guid.Empty.
The instance handle.
Creates an instance handle. If the instance owner passed as a parameter is not null, the value is automatically bound as the new handle's instance owner. (Otherwise, no instance owner is bound, even if DefaultInstanceOwner is set.)
The owner of an instance.
The instance handle. A null value indicates that the new handle should not be automatically bound to an instance owner.
Creates an instance handle. If the instance owner passed as a parameter is not null, the value is automatically bound as the new handle's instance owner. (Otherwise, no instance owner is bound, even if DefaultInstanceOwner is set.) The instance identifier passed as a parameter is automatically bound as the new handle's instance.
An InstanceOwner object that represents the owner of an instance. Pass null as the value for this parameter to indicate that the new handle should not be automatically bound to an instance owner.
An instance identifier. Must not be Guid.Empty.
The instance handle.
Gets or sets the default instance owner.
The default instance owner.
Ends the asynchronous operation.
The result of the operation.
An InstanceView object representing the known state of the instance after the successful completion of the command.
Ends an asynchronous operation.
The result of the operation.
A persistence provider implementation should return false if it doesn't support the command passed to the BeginTryCommand method. Otherwise it should return true or throw an exception.
Ends the asynchronous operation initiated by the method.
An IAsyncResult object that was handed over to the client by the Begin method.
Returns a list of objects.
Executes a persistence command synchronously. Examples of persistence commands are: and .
An instance handle.
The command to be executed.
The timeout value for the operation.
An InstanceView object representing the known state of the instance after the successful completion of the command. If Execute was called under a transaction, this state may include uncommitted data. Once the transaction is committed successfully, the data in the InstanceView object can be considered committed
Gets all the signaled events bound to an object.
An object representing the owner of an instance.
Returns an array of objects.
Gets each InstanceOwner object that is bound to a valid instance handle or has not been garbage collected.
The owner of the instance.
Invoked when an instance handle is freed.
The instance handle that was freed.
The persistence provider's user context information that was returned from OnNewInstanceHandle, or null if OnNewInstanceHandle is not overridden.
Invoked when a new instance handle is created.
An instance handle.
An object. This user context object will be available to the persistence provider when commands are executed using the handle, and when the handle is freed.
Resets the signaled event and removes the event from the signaled events list maintained by the instance owner.
The persistence event that was signaled earlier and to be reset.
The instance owner associated with the persistence event.
An instance store invokes this method to signal an event. A workflow host that subscribes for this persistence event receives it and takes an appropriate action.
The persistence event to be signaled.
The instance owner.
A persistence provider implements this method, which determines whether a particular persistence command can be executed and if the command can be executed executes it asynchronously.
The instance context.
The command to be executed.
Timeout value for the operation.
A persistence provider implementation should return if it doesn't support the command passed as a parameter; otherwise it should return or throw an exception.
A workflow host typically invokes this method to wait for an event to be signaled.
The instance handle that is bound to the event.
The time span after which the waiting operation times out.
A list of objects.
Supports an extensible mechanism to provide data from an instance store. This includes data for instances, instance owners, and instance keys other than those bound to the instance handle being used. For example, a persistence provider mayprovide the owner metadata for all the instance owners in the store by passing an instance of a class derived from to the method.
Initializes an instance of the class.
Stores the information about instance data and metadata.
Initializes an instance of the class by using value object passed as a parameter.
The value object.
Initializes an instance of the class by using the value Object and the options for those values passed as parameters.
The value object.
The options for the value object. For more information, see .
Gets the previously deleted value.
The previously deleted value.
Gets a value that indicates whether the object represents a deleted value.
if the object represents a deleted value; otherwise .
Gets the option for an instance value.
The option for an instance value.
Gets the instance value as an object.
The value of the instance.
Describes the consistency guarantee of the instance values contained in a specified dictionary.
Indicates that the consistency of the instance value is in doubt.
Indicates that there is no consistency guarantee.
Indicates that the consistency of the instance value is partial.
Contains options for instance values to indicate whether the instance values are write-only, optional, there are no instance values.
Indicates that there are no instance values.
Indicates that a host can function without knowing the value of this instance value.
Indicates that the instance value is write-only. The instance value can be used for administration purposes.
Represents a view of an instance. For example, the method implementations return an object that provides a view into the instance data in the persistence store.
Gets instance data as a dictionary of names and values.
The instance data.
Gets the consistency status of the InstanceData property.
The consistency (None, In Doubt, and Partial) of the instance data. InstanceValueConsistency.None indicates that the InstanceData property holds a fully populated and locked set of instance data.
Gets the identifier (ID) of the instance as a GUID.
The ID of the instance or Guid.Empty if the associated instance handle is not bound to an instance.
Gets the instance keys as a dictionary of instance key identifiers and associated objects.
A dictionary of instance key identifiers and their associated instance key view objects.
Gets the consistency status of the InstanceKeys property.
The consistency value of instance keys. indicates that the InstanceKeys property holds a fully populated and locked set of instance keys (though not necessarily each key's metadata).
Gets the metadata of an instance as a dictionary of names and objects.
The metadata of the instance.
Gets the consistency status of the InstanceMetadata property.
The consistency of the instance metadata. InstanceValueConsistency.None indicates that the InstanceMetadata property holds a fully populated and locked set of instance metadata.
Gets the owner of the instance.
The owner of the instance, or if the associated instance handle is not bound to an instance owner.
Gets the metadata for an instance owner as a dictionary of names and values.
A dictionary containing instance-owner metadata.
Gets the consistency status of the InstanceOwnerMetadata property.
The consistency of the instance owner metadata. Returns null if the associated instance handle is not bound to an instance owner.
Gets the state of the instance (Unknown, Uninitialized, Initialized, or Completed).
The state of the instance.
Gets a collection of objects. The collection is automatically reset to empty each time a command is executed against the associated instance handle.
A collection of objects.
Returns a value that indicates whether the associated instance handle is bound to an instance.
if the associated instance handle is bound to an instance; otherwise, .
Returns a value that indicates whether the associated instance handle is bound to an instance owner.
if the associated instance handle is bound to an instance owner; otherwise, .
Returns a value that indicates whether the associated instance handle is bound to an instance lock.
if the associated instance handle is bound to an instance lock; otherwise, .