Share via


Module::ReleaseNotifier 클래스

모듈의 마지막 개체가 해제될 때 이벤트 처리기를 호출합니다.

구문

class ReleaseNotifier;

멤버

공용 생성자

속성 설명
Module::ReleaseNotifier::~ReleaseNotifier 클래스의 현재 인스턴스를 초기화합니다 Module::ReleaseNotifier .
모듈::ReleaseNotifier::ReleaseNotifier Module::ReleaseNotifier 클래스의 새 인스턴스를 초기화합니다.

공용 메서드

이름 설명
Module::ReleaseNotifier::Invoke 구현될 때 모듈의 마지막 개체가 해제되면 이벤트 처리기를 호출합니다.
Module::ReleaseNotifier::Release 의 매개 변수true를 사용하여 개체를 생성한 경우 현재 Module::ReleaseNotifier 개체를 삭제합니다.

상속 계층 구조

ReleaseNotifier

요구 사항

헤더: module.h

네임스페이스: Microsoft::WRL

Module::ReleaseNotifier::~ReleaseNotifier

클래스의 현재 인스턴스를 초기화합니다 Module::ReleaseNotifier .

WRL_NOTHROW virtual ~ReleaseNotifier();

Module::ReleaseNotifier::Invoke

구현될 때 모듈의 마지막 개체가 해제되면 이벤트 처리기를 호출합니다.

virtual void Invoke() = 0;

Module::ReleaseNotifier::Release

의 매개 변수true를 사용하여 개체를 생성한 경우 현재 Module::ReleaseNotifier 개체를 삭제합니다.

void Release() throw();

모듈::ReleaseNotifier::ReleaseNotifier

Module::ReleaseNotifier 클래스의 새 인스턴스를 초기화합니다.

ReleaseNotifier(bool release) throw();

매개 변수

release
true메서드를 호출 false 할 때 이 인스턴스를 삭제하려면 이 인스턴스를 Release 삭제하지 않습니다.