Compartilhar via


Module::MethodReleaseNotifier::MethodReleaseNotifier Constructor

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Module::MethodReleaseNotifier::MethodReleaseNotifier Constructor.

Initializes a new instance of the Module::MethodReleaseNotifier class.

Syntax

  
MethodReleaseNotifier(  
   _In_ T* object,   
   _In_ void (T::* method)(),   
   bool release) throw() :  
            ReleaseNotifier(release), object_(object),   
            method_(method);  

Parameters

object
An object whose member function is an event handler.

method
The member function of parameter object that is the event handler.

release
Specify true to enable calling the underlying Module::ReleaseNotifier::Release() method; otherwise, specify false.

Requirements

Header: module.h

Namespace: Microsoft::WRL

See Also

Module::MethodReleaseNotifier Class