Поделиться через


WarehouseJobExecutionDetails Class

Contains current run-time state of the given job: LastRun - result of the previous run (if available), this information is composed from the Job History table CurrentRun - current status, if the job is currently active (JobsRunning or JobsQueued) NextRun - information about the next time that the job is scheduled to run, if the job is not currently running, but as an active schedule

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Warehouse.WarehouseJobBase
    Microsoft.TeamFoundation.Warehouse.WarehouseJobExecutionDetails

Namespace:  Microsoft.TeamFoundation.Warehouse
Assembly:  Microsoft.TeamFoundation.Warehouse (in Microsoft.TeamFoundation.Warehouse.dll)

Syntax

'Declaration
Public Class WarehouseJobExecutionDetails _
    Inherits WarehouseJobBase
public class WarehouseJobExecutionDetails : WarehouseJobBase
public ref class WarehouseJobExecutionDetails : public WarehouseJobBase
type WarehouseJobExecutionDetails =  
    class 
        inherit WarehouseJobBase 
    end
public class WarehouseJobExecutionDetails extends WarehouseJobBase

The WarehouseJobExecutionDetails type exposes the following members.

Properties

  Name Description
Public property CurrentRun
Public property ExtensionName (Inherited from WarehouseJobBase.)
Public property ExtensionNameSpecified (Inherited from WarehouseJobBase.)
Public property JobId (Inherited from WarehouseJobBase.)
Public property JobIdSpecified (Inherited from WarehouseJobBase.)
Public property JobProcessingStatus ProcessingStatus for this job ProcessingStatus is calculated from the TeamFoundationJobState, job type and internal job properties.only jobs in the JobsRunning state contribute to the state: Scheduled and JobsQueued are treated as Idle jobs that are in the Scheduled bucket are not running, but scheduled to run in the future, their ProcessingStatus will be set to Idle. JobsQueued jobs are ready to be executed, and are waiting for a JobRunner to pick them up. Because they are not actualy executing, the ProcessigState for them will be None, the same as for the Scheduled jobs.
Public property LastRun
Public property Name (Inherited from WarehouseJobBase.)
Public property NextRun

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Warehouse Namespace