Instance State
            
 Declaration Syntax
 Declaration Syntax| C# | 
public class InstanceState
 Members
 Members| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description | 
|---|---|---|
|  | InstanceState()()()() | Initializes a new instance of the InstanceState class | 
|  | Code | 
             A code representing the state of the instance.
              | 
|  | Equals(Object) | (Inherited from Object.) | 
|  | GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | 
|  | GetType()()()() | Gets the type of the current instance.(Inherited from Object.) | 
|  | IsSetCode()()()() | 
            Checks if Code property is set
             | 
|  | IsSetName()()()() | 
            Checks if Name property is set
             | 
|  | Name | 
             The current state of the instance.
            
             Valid values are: pending | running | shutting-down | terminated | stopping | stopped
              | 
|  | ToString()()()() | Returns a string that represents the current object.(Inherited from Object.) | 
|  | WithCode(Decimal) | Obsolete. 
             Sets the code representing the state of the instance.
              | 
|  | WithName(String) | Obsolete. 
             Sets the current state of the instance.
              | 
 Inheritance Hierarchy
 Inheritance Hierarchy| Object | |
|  | InstanceState |