Click or drag to resize
StateMachineAttribute Class
This API is preliminary and subject to change.
Allows you to determine whether a method is a state machine method.
Inheritance Hierarchy

Namespace: System.Runtime.CompilerServices
Assembly: Rackspace.Threading (in Rackspace.Threading.dll) Version: 2.1.0-beta1
Syntax
[SerializableAttribute]
[AttributeUsageAttribute(AttributeTargets.Method, Inherited = false, AllowMultiple = false)]
public class StateMachineAttribute : Attribute

The StateMachineAttribute type exposes the following members.

Constructors
  NameDescription
Public methodStateMachineAttribute
Initializes a new instance of the StateMachineAttribute class.
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyStateMachineType
Gets the type object for the underlying state machine type that was generated by the compiler to implement the state machine method.
Public propertyTypeId (Inherited from Attribute.)
Top
Explicit Interface Implementations
Version Information

.NET Framework

Supported in: 3.5

Threading Library

Supported in: 2.1
See Also