Skip to content

Latest commit

 

History

History
152 lines (128 loc) · 4.09 KB

nf-comsvcs-icomapp2events-onapprecycle2.md

File metadata and controls

152 lines (128 loc) · 4.09 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:comsvcs.IComApp2Events.OnAppRecycle2
IComApp2Events::OnAppRecycle2 (comsvcs.h)
Generated when the server application process is marked for recycling termination.
CRR_ACTIVATION_LIMIT
CRR_CALL_LIMIT
CRR_LIFETIME_LIMIT
CRR_MEMORY_LIMIT
CRR_NO_REASON_SUPPLIED
CRR_RECYCLED_FROM_UI
IComApp2Events interface [COM+]
OnAppRecycle2 method
IComApp2Events.OnAppRecycle2
IComApp2Events::OnAppRecycle2
OnAppRecycle2
OnAppRecycle2 method [COM+]
OnAppRecycle2 method [COM+]
IComApp2Events interface
_dtc_IComApp2Events_OnAppRecycle2
comsvcs/IComApp2Events::OnAppRecycle2
cos.icomapp2events_onapprecycle2
cos\icomapp2events_onapprecycle2.htm
cos
36be1f17-05cc-4c0a-97aa-84abd46de801
12/05/2018
CRR_ACTIVATION_LIMIT, CRR_CALL_LIMIT, CRR_LIFETIME_LIMIT, CRR_MEMORY_LIMIT, CRR_NO_REASON_SUPPLIED, CRR_RECYCLED_FROM_UI, IComApp2Events interface [COM+],OnAppRecycle2 method, IComApp2Events.OnAppRecycle2, IComApp2Events::OnAppRecycle2, OnAppRecycle2, OnAppRecycle2 method [COM+], OnAppRecycle2 method [COM+],IComApp2Events interface, _dtc_IComApp2Events_OnAppRecycle2, comsvcs/IComApp2Events::OnAppRecycle2, cos.icomapp2events_onapprecycle2
comsvcs.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
IComApp2Events::OnAppRecycle2
comsvcs/IComApp2Events::OnAppRecycle2
c++
APIRef
kbSyntax
COM
ComSvcs.h
IComApp2Events.OnAppRecycle2

IComApp2Events::OnAppRecycle2

-description

Generated when the server application process is marked for recycling termination.

-parameters

-param pInfo [in]

A pointer to a COMSVCSEVENTINFO structure.

-param guidApp [in]

The application ID.

-param guidProcess [in]

The process ID.

-param lReason [in]

The reason code that explains why a process was recycled. The following codes are defined.

Value Meaning
CRR_NO_REASON_SUPPLIED
0x00000000
The reason is not specified.
CRR_LIFETIME_LIMIT
xFFFFFFFF
The specified number of minutes that an application runs before recycling was reached.
CRR_ACTIVATION_LIMIT
0xFFFFFFFE
The specified number of activations was reached.
CRR_CALL_LIMIT
0xFFFFFFFD
The specified number of calls to configured objects in the application was reached.
CRR_MEMORY_LIMIT
0xFFFFFFFC
The specified memory usage that a process cannot exceed was reached.
CRR_RECYCLED_FROM_UI
xFFFFFFFB
An administrator decided to recycle the process through the Component Services administration tool.

-returns

The user verifies the return values from this method.

-see-also

IComApp2Events