Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Note
The Active Template Library (ATL) continues to be supported. However, we're no longer adding features or updating the documentation.
This class provides methods for obtaining and releasing ownership of a critical section object.
Syntax
class CComAutoDeleteCriticalSection : public CComSafeDeleteCriticalSection
Remarks
CComAutoDeleteCriticalSection derives from the class CComSafeDeleteCriticalSection. However, CComAutoDeleteCriticalSection overrides the Term method to private access, which forces internal memory cleanup to occur only when instances of this class go out of scope or are explicitly deleted from memory.
This class introduces no additional methods over its base class. See CComSafeDeleteCriticalSection and CComCriticalSection for more information on critical section helper classes.
Inheritance Hierarchy
CComAutoDeleteCriticalSection
Requirements
Header: atlcore.h
See also
CComSafeDeleteCriticalSection Class
CComCriticalSection Class
Class Overview