All Frameworks  Object Hierarchy  This Framework  Previous  Next  Indexes  

MemoryWarningSettingAtt (Object)

IUnknown
  |
  +---IDispatch
    |
    +---CATBaseUnknown
      |
      +---CATBaseDispatch
        |
        +---AnyObject
          |
          +---SettingController
            |
            +---MemoryWarningSettingAtt
 


Represents the base object to handle the parameters of memory warning mechanism.
This mechanism informs the user when the process memory use exceeds a given percentage of the address space usage. This mechanism warns you that because the amout of remaining memory is becoming low, you should save your data and leave the session.

Property Index

ActivationState
Returns or sets the activation state of the memory warning mechanism.
MemoryStopperState
Returns or sets the activation state of the memory stopper mechanism.
UsageLimit
Returns or sets the alert percentage.

Method Index

GetActivationStateInfo
Retrieves environment informations for the memory warning mechanism.
GetMemoryStopperStateInfo
Retrieves environment informations for the memory stopper mechanism.
GetUsageLimitInfo
Retrieves environment informations for the alert percentage.
SetActivationStateLock
Locks or unlocks the activation mode of the memory warning mechanism.
SetMemoryStopperStateLock
Locks or unlocks the activation mode of the memory stopper mechanism.
SetUsageLimitLock
Locks or unlocks the the alert percentage.

Properties


o Property ActivationState() As boolean
Returns or sets the activation state of the memory warning mechanism.
Role: Returns or sets the value of of the memory warning.
o Property MemoryStopperState() As boolean
Returns or sets the activation state of the memory stopper mechanism.
Role: Returns or sets the value of of the memory stopper.
o Property UsageLimit() As long
Returns or sets the alert percentage.
Role: Returns or sets the percentage of the address space usage that can be used by the process before sending the warning.

Methods


o Func GetActivationStateInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean
Retrieves environment informations for the memory warning mechanism.
Refer to
SettingController for a detailled description.
o Func GetMemoryStopperStateInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean
Retrieves environment informations for the memory stopper mechanism.
Refer to
SettingController for a detailled description.
o Func GetUsageLimitInfo(CATBSTR AdminLevel,
CATBSTR oLocked) As boolean
Retrieves environment informations for the alert percentage.
Refer to
SettingController for a detailled description.
o Sub SetActivationStateLock(boolean iLocked)
Locks or unlocks the activation mode of the memory warning mechanism.
Refer to
SettingController for a detailled description.
o Sub SetMemoryStopperStateLock(boolean iLocked)
Locks or unlocks the activation mode of the memory stopper mechanism.
Refer to
SettingController for a detailled description.
o Sub SetUsageLimitLock(boolean iLocked)
Locks or unlocks the the alert percentage.
Refer to
SettingController for a detailled description.

Copyright © 2003, Dassault Systèmes. All rights reserved.