Module::ReleaseNotifier Class
Invokes an event handler when the last object in a module is released.
class ReleaseNotifier;
Name | Description |
---|---|
Module::ReleaseNotifier::~ReleaseNotifier | Deinitializes the current instance of the Module::ReleaseNotifier class. |
Module::ReleaseNotifier::ReleaseNotifier | Initializes a new instance of the Module::ReleaseNotifier class. |
Name | Description |
---|---|
Module::ReleaseNotifier::Invoke | When implemented, calls an event handler when the last object in a module is released. |
Module::ReleaseNotifier::Release | Deletes the current Module::ReleaseNotifier object if the object was constructed with a parameter of true . |
ReleaseNotifier
Header: module.h
Namespace: Microsoft::WRL
Deinitializes the current instance of the Module::ReleaseNotifier
class.
WRL_NOTHROW virtual ~ReleaseNotifier();
When implemented, calls an event handler when the last object in a module is released.
virtual void Invoke() = 0;
Deletes the current Module::ReleaseNotifier
object if the object was constructed with a parameter of true
.
void Release() throw();
Initializes a new instance of the Module::ReleaseNotifier
class.
ReleaseNotifier(bool release) throw();
release
true
to delete this instance when the Release
method is called; false
to not delete this instance.