CodeCatchClause.CatchExceptionType Proprietà

Definizione

Ottiene o imposta il tipo dell'eccezione da gestire con il blocco catch.

public:
 property System::CodeDom::CodeTypeReference ^ CatchExceptionType { System::CodeDom::CodeTypeReference ^ get(); void set(System::CodeDom::CodeTypeReference ^ value); };
public System.CodeDom.CodeTypeReference CatchExceptionType { get; set; }
member this.CatchExceptionType : System.CodeDom.CodeTypeReference with get, set
Public Property CatchExceptionType As CodeTypeReference

Valore della proprietà

Oggetto CodeTypeReference che indica il tipo dell'eccezione da gestire.

Commenti

Se non viene specificato un valore per questa proprietà, per impostazione predefinita il valore di questa proprietà è Exception.

Si applica a

Vedi anche