Throws an exception based on the specified error and sets the step status to EventStatus.EVENTSTATUS_FAIL.

Syntax

Visual Basic (Declaration)  
Overloads Overridable Sub ThrowRunError( _
   ByVal error As RunErrors _
) 
C#  
virtual void ThrowRunError( 
   RunErrors error
)

Parameters

error
A value of the RunErrors Enumeration.

See Also