This documentation is archived and is not being maintained.

Compiler Error C3273

Error Message

__finally cannot be used on an exception block in unmanaged code.

The following sample generates C3273:

// C3273.cpp
// compile with: /GX
int main()
{   
   try
   {
   }
   catch (int)
   {
   }
   __finally   // C3273, remove __finally clause
   {
   }
}
Show: