The TelnetScript type exposes the following members.

Constructors

  Name Description
Public method TelnetScript
Creates a new TelnetScript instance.

Methods

  Name Description
Public method AddTask
Adds a TelnetTask to this TelnetScript.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method FireTaskEndedEvent
Fires TaskEnded Event.
Public method FireTaskFailedEvent
Fires TaskFailed Event.
Public method FireTaskStartedEvent
Fires TaskStarted Event.
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetTask
Gets the named TelnetTask based on the name attribute of a TelnetTask.
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method IsComplete
Checks whether this TelnetScript has completed execution of all TelnetTask.
Public method IsEmpty
Checks if there are any TelnetTask bound to this TelnetScript.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  Name Description
Public property Head
Gets/Sets first task for this TelnetScript.
Public property Tail
Gets/Sets last task for this TelnetScript.
Public property Telnet
Gets/Sets Telnet instance.

Events

  Name Description
Public event TaskEndedEvent
Occurs after a successful completion of the TelnetTask.
Public event TaskFailedEvent
Occurs after a TelnetTask fails.
Public event TaskStartedEvent
Occurs after a successful start of the TelnetTask.

See Also