Export (0) Print
Expand All

InstancePersistenceEvent<T> Class

Represents an event that an instance store raises to notify hosts about a change. This is a generic class. Classes such as HasRunnableWorkflowEvent and HasActivatableWorkflowEvent derive from this class.

Namespace:  System.Runtime.DurableInstancing
Assembly:  System.Runtime.DurableInstancing (in System.Runtime.DurableInstancing.dll)

public abstract class InstancePersistenceEvent<T> : InstancePersistenceEvent 
where T : new(), InstancePersistenceEvent<T>

Type Parameters

T

The type of the event.

The InstancePersistenceEvent<T> type exposes the following members.

  NameDescription
Protected methodInstancePersistenceEvent<T>Initializes an instance of the InstancePersistenceEvent<T> class using the XName parameter.
Top

  NameDescription
Public propertyNameReturns the XName (namespace combined with name) of the persistence event. (Inherited from InstancePersistenceEvent.)
Public propertyStatic memberValueReturns the instance of the actual event object (for example: HasRunnableWorkflowEvent).
Top

  NameDescription
Public methodEquals(InstancePersistenceEvent)Determines whether the current InstancePersistenceEvent object and the passed InstancePersistenceEvent object are the same. (Inherited from InstancePersistenceEvent.)
Public methodEquals(Object)Determines whether the current InstancePersistenceEvent object and the passed object converted as the InstancePersistenceEvent are the same. (Inherited from InstancePersistenceEvent.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for the InstancePersistenceEvent instance. (Inherited from InstancePersistenceEvent.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft