State Members
Provides a dictionary of information which provides notification when items change in the collection. It is serialized with the WorkItem when the WorkItem is saved and loaded.
The following tables list the members exposed by the State type.
Public Constructors
(see also Protected Constructors )
Name | Description | |
---|---|---|
![]() |
State | Overloaded. |
Top
Protected Constructors
Name | Description | |
---|---|---|
![]() |
State | Overloaded. |
Top
Public Properties
(see also Protected Properties )
Name | Description | |
---|---|---|
![]() |
Count | (Inherited from NameObjectCollectionBase.) |
![]() |
HasChanges | Gets whether the state has changed since it was initially created or the last call to AcceptChanges. |
![]() |
ID | Gets the state ID. |
![]() |
Item | Gets and sets the value of an element in the state. |
![]() |
Keys | (Inherited from NameObjectCollectionBase.) |
![]() |
TraceSource | Sets the TraceSource to use for tracing messages. |
Top
Protected Properties
Name | Description | |
---|---|---|
![]() |
IsReadOnly | (Inherited from NameObjectCollectionBase.) |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
![]() |
AcceptChanges | Resets the HasChanges flag. |
![]() |
Dispose | Overloaded. (Inherited from StateElement.) |
![]() |
Equals | Overloaded. (Inherited from Object.) |
![]() |
GetEnumerator | (Inherited from NameObjectCollectionBase.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetObjectData | Overridden. Populates a System.Runtime.Serialization.SerializationInfo with the data needed to serialize the target object. |
![]() |
GetType | (Inherited from Object.) |
![]() |
OnDeserialization | (Inherited from NameObjectCollectionBase.) |
![]() |
RaiseStateChanged | Overloaded. (Inherited from StateElement.) |
![]() ![]() |
ReferenceEquals | (Inherited from Object.) |
![]() |
Remove | Removes the item with the given key from the state. (Inherited from StateElement.) |
![]() |
ToString | (Inherited from Object.) |
Top
Protected Methods
Name | Description | |
---|---|---|
![]() |
BaseAdd | (Inherited from NameObjectCollectionBase.) |
![]() |
BaseClear | (Inherited from NameObjectCollectionBase.) |
![]() |
BaseGet | Overloaded. (Inherited from NameObjectCollectionBase.) |
![]() |
BaseGetAllKeys | (Inherited from NameObjectCollectionBase.) |
![]() |
BaseGetAllValues | Overloaded. (Inherited from NameObjectCollectionBase.) |
![]() |
BaseGetKey | (Inherited from NameObjectCollectionBase.) |
![]() |
BaseHasKeys | (Inherited from NameObjectCollectionBase.) |
![]() |
BaseRemove | (Inherited from NameObjectCollectionBase.) |
![]() |
BaseRemoveAt | (Inherited from NameObjectCollectionBase.) |
![]() |
BaseSet | Overloaded. (Inherited from NameObjectCollectionBase.) |
![]() |
Dispose | Overloaded. (Inherited from StateElement.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
OnStateChanged | Overridden. Raises the StateChanged event and sets the HasChanges flag to true. |
Top
Public Events
Name | Description | |
---|---|---|
![]() |
StateChanged | This event is raised when the state has changed. (Inherited from StateElement.) |
Top