See Also: CodeCatchClause Members
System.CodeDom.CodeCatchClause can be used to represent a catch exception block of a try/catch statement.
The CodeCatchClause.CatchExceptionType property specifies the type of exception to catch. The CodeCatchClause.LocalName property specifies a name for the variable representing the exception that has been caught. The CodeCatchClause.Statements collection property contains the statements for the catch block.