Public Member Functions | |
CCLREventSink (ICLRControl *pControl, IEventSinkCallback &callback) | |
Construct an event sink and obtain an instance of ICLROnEventManager to register event actions with from the supplied instance of ICLRControl. Report events via the IEventSinkCallback callback interface. | |
CCLREventSink (const CCLREventSink &rhs) | |
virtual | ~CCLREventSink () |
CCLREventSink & | operator= (const CCLREventSink &rhs) |
void | DisableCallbacks (bool logWhenDisabled=false) |
void | RegisterForEventCallback (EClrEvent event) |
Register to receieve callbacks when the supplied event is fired by the CLR. | |
void | UnRegisterForEventCallback (EClrEvent event) |
Stop receieving callbacks when the supplied event is fired by the CLR. | |
void | UnRegisterAllEventCallbacks () |
ULONG STDMETHODCALLTYPE | AddRef () override |
ULONG STDMETHODCALLTYPE | Release () override |
HRESULT STDMETHODCALLTYPE | QueryInterface (REFIID riid, PVOID *ppvObj) override |
HRESULT STDMETHODCALLTYPE | OnEvent (EClrEvent event, PVOID data) override |
CCLREventSink | ( | ICLRControl * | pControl, | |
IEventSinkCallback & | callback | |||
) |
Construct an event sink and obtain an instance of ICLROnEventManager to register event actions with from the supplied instance of ICLRControl. Report events via the IEventSinkCallback callback interface.
CCLREventSink | ( | const CCLREventSink & | rhs | ) |
~CCLREventSink | ( | ) | [virtual] |
CCLREventSink& operator= | ( | const CCLREventSink & | rhs | ) |
void DisableCallbacks | ( | bool | logWhenDisabled = false |
) |
void RegisterForEventCallback | ( | EClrEvent | event | ) |
Register to receieve callbacks when the supplied event is fired by the CLR.
void UnRegisterForEventCallback | ( | EClrEvent | event | ) |
Stop receieving callbacks when the supplied event is fired by the CLR.
void UnRegisterAllEventCallbacks | ( | ) |
ULONG STDMETHODCALLTYPE AddRef | ( | ) | [override] |
ULONG STDMETHODCALLTYPE Release | ( | ) | [override] |
HRESULT STDMETHODCALLTYPE QueryInterface | ( | REFIID | riid, | |
PVOID * | ppvObj | |||
) | [override] |
HRESULT STDMETHODCALLTYPE OnEvent | ( | EClrEvent | event, | |
PVOID | data | |||
) | [override] |