The HostRecycleSettings type exposes the following members.

Constructors

  Name Description
Public method HostRecycleSettings()()()()
Initializes a new instance of the HostRecycleSettings class.
Public method HostRecycleSettings(HostRecycleSettings)
Initializes a new instance of the HostRecycleSettings class.
Public method HostRecycleSettings(Int32, Int32, Int32, String, Boolean, Boolean, Int64)
Initializes a new instance of the HostRecycleSettings class.

Methods

  Name Description
Public method Equals
Determines whether the specified Object is equal to this instance.
(Overrides Object..::..Equals(Object).)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode
Returns a hash code for this instance.
(Overrides Object..::..GetHashCode()()()().)
Public method GetSpecifiedTimesAsTimeArray
Gets the specified times of the recycling settings.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public methodStatic member Override
Overrides the specified override settings.
Public method ToString
Returns a String representing this instance.
(Overrides Object..::..ToString()()()().)
Public methodStatic member WithFixedNumberOfTasks
Creates the settings with only fixed number of tasks. This is mainly used for backward compatibility so tests don't have to spell out all the new properties.

Properties

  Name Description
Public property FixedNumberOfTasks
Gets or sets the fixed number of tasks the host will execute before it is recycled.
Public property IdleTimeout
Gets or sets the amount of time (in milliseconds) a host can idle before it is recycled.
Public property JobCompletion
Gets or sets a value indicating whether to recycle the host upon the completion of the current job.
Public property PrivateMemoryUsageMaximum
Gets or sets the amount of private memory a host process must reach or exceed before it is recycled.
Public property RegularInterval
Gets or sets the amount of time (in milliseconds) representing the interval after which the host will be regularly recycled. The interval is measured from the time the host process was started.
Public property SpecificTimes
Gets or sets the specific times of day at which hosts get recycled. Specific times are in the format "hh:mm:ss tt". Separate multiple times with commas.
Public property TaskEnvironmentNoLongerReferenced
Gets or sets a value indicating whether to recycle the host when its current task environment is no longer referenced.

See Also