Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
exception specification is not allowed
Remarks
Exception specifications are not allowed on member functions of managed classes.
Example
The following example generates C2353:
// C2353.cpp
// compile with: /clr /c
ref class X {
void f() throw(int); // C2353
void f(); // OK
};