Gets or sets the type of the exception to handle with the catch block.
[Visual Basic] Public Property CatchExceptionType As CodeTypeReference [C#] public CodeTypeReference CatchExceptionType {get; set;} [C++] public: __property CodeTypeReference* get_CatchExceptionType(); public: __property void set_CatchExceptionType(CodeTypeReference*); [JScript] public function get CatchExceptionType() : CodeTypeReference; public function set CatchExceptionType(CodeTypeReference);
A CodeTypeReference that indicates the type of the exception to handle.
If a value for this property is not specified, the value of this property defaults to Exception.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
CodeCatchClause Class | CodeCatchClause Members | System.CodeDom Namespace | CodeParameterDeclarationExpression