[This is preliminary documentation and is subject to change.]
The DeleteFilesJob type exposes the following members.Constructors
Name | Description | |
---|---|---|
![]() | DeleteFilesJob(IEventTimer, IConfigSectionNode) | Initializes a new instance of the DeleteFilesJob class |
![]() | DeleteFilesJob(IEventTimer, String, Nullable TimeSpan , IConfigSectionNode, FileSystem, FileSystemSessionConnectParams, String) | Initializes a new instance of the DeleteFilesJob class |
Methods
Name | Description | |
---|---|---|
![]() | __setComponentDirector | (Inherited from ApplicationComponent.) |
![]() | AdjustDate |
Adjusts date time Localized time
(Inherited from Event.) |
![]() | BindFS | |
![]() | Configure | (Overrides Event Configure(IConfigSectionNode).) |
![]() | Destructor | (Overrides Event Destructor .) |
![]() | Dispose |
Deterministically disposes object. DO NOT OVERRIDE this method, override Destructor() instead
(Inherited from DisposableObject.) |
![]() | DoFire | (Overrides Event DoFire .) |
![]() | DoHandleError | (Overrides Event DoHandleError(Exception).) |
![]() | DoVisit |
Override to perform extra status checks
(Inherited from Event.) |
![]() | EnsureObjectNotDisposed |
Checks to see whether object dispose started or has already been disposed and throws an exception if Dispose() was called
(Inherited from DisposableObject.) |
![]() | ![]() | Determines whether the specified object is equal to the current object. (Inherited from ![]() |
![]() | ExternalGetParameter |
Gets external parameter value returning true if parameter was found
(Inherited from Event.) |
![]() | ExternalParametersForGroups |
Returns named parameters that can be used to control this component
(Inherited from Event.) |
![]() | ExternalSetParameter |
Sets external parameter value returning true if parameter was found and set
(Inherited from Event.) |
![]() | Finalize | (Inherited from DisposableObject.) |
![]() | Fire |
Calls event regardless of any constraints.
Invokes a handler right away if syncInvoke is true or BodyAsyncModel is Sync,
otherwise queues the task on a thread pool either as a regular or long-running task depending on BodyAsyncModel
(Inherited from Event.) |
![]() | ![]() | Serves as the default hash function. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | LocalizedTimeToUniversalTime |
Converts localized time to UTC time as of TimeLocation property
(Inherited from Event.) |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ResetCallCount |
Resets call count counter. If this event has expired it will eventually transition to Started state.
Keep in mind that it may expire again if EndDate is set and past due
(Inherited from Event.) |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | UniversalTimeToLocalizedTime |
Converts universal time to local time as of TimeLocation property
(Inherited from Event.) |
![]() | VisitAndCheck |
Invoked by timer, checks all conditions and fires/expires event depending on the status.
Returns true if event was fired, false otherwise
(Inherited from Event.) |
Extension Methods
Fields
Name | Description | |
---|---|---|
![]() ![]() | CONFIG_CONTENT_FS_SECTION | |
![]() ![]() | CONFIG_FS_CONNECT_PARAMS_SECTION | |
![]() ![]() | CONFIG_FS_ROOT_PATH_ATTR | |
![]() | EventHandler |
References event handler that handles events. If it is null then only delegate events are called
(Inherited from Event.) |
![]() | m_Lock | (Inherited from Event.) |
Properties
Name | Description | |
---|---|---|
![]() | BodyAsyncModel |
Due to IO-nature this job is always executted as a long-running separate task
(Overrides Event BodyAsyncModel.) |
![]() | CallCount |
Returns how many times this event was called
(Inherited from Event.) |
![]() | ComponentCommonName |
Returns the common name used to identify the component, for example "Glue" for various IGlue implementations.
This name is searched-by some management tools that allow to find component by this name that does not change between
application restarts like ComponentSID does. Subordinate (non-root) components return null
(Inherited from ApplicationComponent.) |
![]() | ComponentDirector |
Returns a reference to an object that this app component services/operates under, or null
(Inherited from ApplicationComponent.) |
![]() | ComponentSID |
Returns process/instance unique app component system id
(Inherited from ApplicationComponent.) |
![]() | ComponentStartTime |
Returns local computer time of component start (not from application container time)
(Inherited from ApplicationComponent.) |
![]() | Context |
Adds arbitrary context object to the event
(Inherited from Event.) |
![]() | DeleteEmptyDirs | |
![]() | Disposed |
Indicates whether this object was already disposed - the Dispose() has finished
(Inherited from DisposableObject.) |
![]() | DisposeStarted |
Indicates whether this object Dispose() has been called and dispose started but not finished yet
(Inherited from DisposableObject.) |
![]() | Enabled |
Specifies whether this event will fire/participate in timer loop
(Inherited from Event.) |
![]() | EndDate |
Specifies when this event will stop firing in the local event time
(Inherited from Event.) |
![]() | ExternalParameters |
Returns named parameters that can be used to control this component
(Inherited from Event.) |
![]() | FileSystem |
Returns file system that serves static content for portals
|
![]() | FileSystemConnectParams | |
![]() | FileSystemRootPath |
Returns root path for content file system
|
![]() | Interval |
Specifies how often event fires
(Inherited from Event.) |
![]() | LastCall |
Returns when was this event called for the last time in the local event time
(Inherited from Event.) |
![]() | LastError |
Returns the last exception thrown from event handler or nul if no error happened
(Inherited from Event.) |
![]() | LastModifyAgoHrs | |
![]() | LastModifyFrom | |
![]() | LastModifyTo | |
![]() | LocalizedTime |
Returns current time localized per TimeLocation
(Inherited from Event.) |
![]() | LogStats | |
![]() | MaxCount |
Specifies how many times this event can be called. If less or equal than zero then no limit is set
(Inherited from Event.) |
![]() | MaxSize | |
![]() | MinSize | |
![]() | Name | (Inherited from Event.) |
![]() | NameExcludePattern | |
![]() | NameIncludePattern | |
![]() | Recurse | |
![]() | StartDate |
Specifies when this event will start firing in the local event time
(Inherited from Event.) |
![]() | Status | (Inherited from Event.) |
![]() | TimeLocation |
Returns time location that this Event instance operates under.
(Inherited from Event.) |
![]() | Timer | (Inherited from Event.) |
Events
Name | Description | |
---|---|---|
![]() | Body |
Event body that gets called when the event is due. The body is always invoked ASYNCHRONOUSLY
unless Fire(syncronous=true) is called in which case it gets called on a thread that called Fire(true)
(Inherited from Event.) |
![]() | DefinitionChange |
Invoked when one of timer event definition parameters changes.
Always called synchronously on the same thread that made a change.
Subscribers should not block for long
(Inherited from Event.) |
![]() | StatusChange |
Invoked when timer event status changes. Always called synchronously by the timer thread.
Subscribers should not block for long
(Inherited from Event.) |
See Also