Exception Property
See Also 
SourceCode.Workflow.Authoring Namespace > Line Class : Exception Property



Glossary Item Box

Gets or sets the Exception that is executed if the line fails. The default value is to write an entry to the K2.net Server ErrorLog.

Syntax

Visual Basic (Declaration) 
Public Property Exception As ExceptionRule
Visual Basic (Usage)Copy Code
Dim instance As Line
Dim value As ExceptionRule
 
instance.Exception = value
 
value = instance.Exception
C# 
public ExceptionRule Exception {get; set;}
C++/CLI 
public:
property ExceptionRule^ Exception {
   ExceptionRule^ get();
   void set (    ExceptionRule^ value);
}

Requirements

Target Platforms: 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