Compiler Error C3273
__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
{
}
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for