csUnit Class Library

TestAttribute.HasError Method 

Called by an attribute when it has detected an error.

protected void HasError(
   string reason
);

Parameters

reason
Reason for the error.

See Also

TestAttribute Class | csUnit Namespace