Mcs.Epm.MicrosoftProject.mpFx.Queue Class Reference

Provides data and functionality for working with the Project Server queue. More...

List of all members.

Public Member Functions

 Queue (ProjectServer parent)
 Create an instance of Queue.
bool WaitOnJobStatus (Guid jobGuid, JobState jobState, int count, int duration, out string errorString)
 Wait on a given job until its job state matches the provided state or the retry/wait is exceeded.
void CancelJob (Guid jobGuid)


Detailed Description

Provides data and functionality for working with the Project Server queue.

Definition at line 22 of file Queue.cs.


Constructor & Destructor Documentation

Mcs.Epm.MicrosoftProject.mpFx.Queue.Queue ( ProjectServer  parent  ) 

Create an instance of Queue.

Parameters:
parent Parent Object

Definition at line 36 of file Queue.cs.


Member Function Documentation

bool Mcs.Epm.MicrosoftProject.mpFx.Queue.WaitOnJobStatus ( Guid  jobGuid,
JobState  jobState,
int  count,
int  duration,
out string  errorString 
)

Wait on a given job until its job state matches the provided state or the retry/wait is exceeded.

Parameters:
jobGuid The GUID of the job to wait on
jobState The job state to wait for
count The number of times to retry
duration The wait interval between retries in milliseconds
errorString Out parameter containing the error string if the queued job failes
Returns:

Definition at line 58 of file Queue.cs.


The documentation for this class was generated from the following file:

Generated on Sat Jan 24 13:32:10 2009 for mpFx by  doxygen 1.5.8