Version

Count Property (OperationContext)

Number of steps in the command sequence.
Syntax
'Declaration
 
Public ReadOnly Property Count As Integer
public int Count {get;}

Property Value

Returns the number of steps in the command sequence for the current WebSchedule database operation. Command sequence numbers greater than or equal to Count are invalid.

This property is read only. Adding steps to the command sequence is not supported.

Remarks

An OperationContext represents a WebSchedule database operation, such as fetching resources or or updating activities. These operations may be comprised of more than one step. Use this property if you need to iterate over the steps in an operation.

If you pass a command sequence number to any methods of this OperationContext equal to or greater than the Count property indicates are present, then the other methods of OperationContext may throw an exception for receiving an argument out of range.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also