Skip to content

Latest commit

 

History

History
117 lines (82 loc) · 4.97 KB

ns-comsvcs-applicationprocessrecycleinfo.md

File metadata and controls

117 lines (82 loc) · 4.97 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
NS:comsvcs._ApplicationProcessRecycleInfo
ApplicationProcessRecycleInfo (comsvcs.h)
Represents details about the recycling of a process hosting COM+ applications.
ApplicationProcessRecycleInfo
ApplicationProcessRecycleInfo structure [COM+]
comsvcs/ApplicationProcessRecycleInfo
cos.applicationprocessrecycleinfo
cos\applicationprocessrecycleinfo.htm
cos
9e00c6a3-b82e-48a2-bec5-c5fbd6960072
12/05/2018
ApplicationProcessRecycleInfo, ApplicationProcessRecycleInfo structure [COM+], comsvcs/ApplicationProcessRecycleInfo, cos.applicationprocessrecycleinfo
comsvcs.h
Windows
Windows XP with SP2 [desktop apps only]
Windows Server 2003 with SP1 [desktop apps only]
Windows
ApplicationProcessRecycleInfo
19H1
_ApplicationProcessRecycleInfo
comsvcs/_ApplicationProcessRecycleInfo
ApplicationProcessRecycleInfo
comsvcs/ApplicationProcessRecycleInfo
c++
APIRef
kbSyntax
HeaderDef
ComSvcs.h
ApplicationProcessRecycleInfo

ApplicationProcessRecycleInfo structure

-description

Represents details about the recycling of a process hosting COM+ applications.

-struct-fields

-field IsRecyclable

Indicates whether the process is one that can be recycled. For example, only COM+ server applications can be recycled, and applications running as Windows services cannot be recycled.

-field IsRecycled

Indicates whether the process is a COM+ server application instance that has been recycled.

-field TimeRecycled

The time at which the process was recycled. This member is meaningful only if IsRecycled is TRUE.

-field TimeToTerminate

The time at which a recycled process will be forcibly terminated if it does not shut down on its own before this time. This member is meaningful only if IsRecycled is TRUE.

-field RecycleReasonCode

A code that indicates the reason a process was recycled. This is usually one of the recycle reason code constants defined in Comsvcs.h (for example, CRR_RECYCLED_FROM_UI), but may be any code supplied by an administrative application in a call to ICOMAdminCatalog2::RecycleApplicationInstances. This member is meaningful only if IsRecycled is TRUE.

-field IsPendingRecycle

Indicates whether a paused COM+ server application instance has met the conditions for automatic recycling. If so, the application instance will be recycled when it is resumed.

-field HasAutomaticLifetimeRecycling

Indicates whether the process is an instance of a COM+ server application that has been configured for automatic recycling based on lifetime.

-field TimeForAutomaticRecycling

The time at which the process will be automatically recycled. This member is meaningful only if HasAutomaticLifetimeRecycling is TRUE.

-field MemoryLimitInKB

The recycling memory limit configured for a COM+ server application in kilobytes, or 0 if the application is not configured for automatic recycling based on memory usage.

-field MemoryUsageInKBLastCheck

The memory usage of the process in kilobytes the last time this metric was calculated by the Tracker Server. This is set to DATA_NOT_AVAILABLE (0xFFFFFFFF) if the application is not configured for automatic recycling based on memory usage, or if memory usage has not yet been checked.

-field ActivationLimit

The activation limit configured for a COM+ server application, or 0 if the application is not configured for automatic recycling based on activation count. This data is not currently available, and is always set to DATA_NOT_AVAILABLE (0xFFFFFFFF).

-field NumActivationsLastReported

The total number of activations performed in a COM+ server application instance, or 0 if the process is not hosting a COM+ server application. This data is not currently available, and is always set to DATA_NOT_AVAILABLE (0xFFFFFFFF).

-field CallLimit

The call limit configured for a COM+ server application, or zero if the application is not configured for automatic recycling based on number of calls. This data is not currently available, and is always set to DATA_NOT_AVAILABLE (0xFFFFFFFF).

-field NumCallsLastReported

The total number of calls serviced by a COM+ server application instance, or 0 if the process is not hosting a COM+ server application. This data is not currently available, and is always set to DATA_NOT_AVAILABLE (0xFFFFFFFF).

-see-also

IGetAppTrackerData