Gets or sets the variable name of the exception that the catch clause handles.
[Visual Basic] Public Property LocalName As String [C#] public string LocalName {get; set;} [C++] public: __property String* get_LocalName(); public: __property void set_LocalName(String*); [JScript] public function get LocalName() : String; public function set LocalName(String);
The name for the exception variable that the catch clause handles.
This property specifies the name of the local variable for the exception. This local variable is optional. By default, the clause does not have this variable.
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