| description | Learn more about: Module::ReleaseNotifier Class | |||||
|---|---|---|---|---|---|---|
| title | Module::ReleaseNotifier Class | |||||
| ms.date | 09/17/2018 | |||||
| ms.topic | reference | |||||
| f1_keywords |
|
|||||
| helpviewer_keywords |
|
|||||
| ms.assetid | 17249cd1-4d88-42e3-8146-da9e942d12bd |
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.