예제 #1
0
 public JobDetails(string jobList, JobWorkItemCounts workItems, string name, string waitUrl, string source, string type, string build)
 {
     JobList   = jobList;
     WorkItems = workItems;
     Name      = name;
     WaitUrl   = waitUrl;
     Source    = source;
     Type      = type;
     Build     = build;
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the JobDetails class.
 /// </summary>
 /// <param name="jobList">URI to the job list this job used</param>
 /// <param name="workItems">List of work item counts in various
 /// stages</param>
 /// <param name="name">Name of the job</param>
 /// <param name="waitUrl">Url that can be queried to wait for job
 /// completion</param>
 /// <param name="creator">User ID of the creator of the job</param>
 /// <param name="created">    Time the job was created, using the "O"
 /// DateTimeOffset format specifier.
 /// ("yyyy-MM-ddTHH:mm:ss.fffffffK")</param>
 /// <param name="finished">Time the job was finished, if it was
 /// finished.</param>
 /// <param name="initialWorkItemCount">Number of work items present in
 /// initial upload. Note that additional work items may be created
 /// during execution, so the final "finished" number may be higher than
 /// this.</param>
 public JobDetails(string jobList, JobWorkItemCounts workItems, string name, string waitUrl, string source, string type, string build, FailureReason failureReason = default(FailureReason), string queueId = default(string), string creator = default(string), string created = default(string), string finished = default(string), int?initialWorkItemCount = default(int?), object properties = default(object), IList <WorkItemError> errors = default(IList <WorkItemError>))
 {
     FailureReason        = failureReason;
     QueueId              = queueId;
     JobList              = jobList;
     WorkItems            = workItems;
     Name                 = name;
     Creator              = creator;
     Created              = created;
     Finished             = finished;
     InitialWorkItemCount = initialWorkItemCount;
     WaitUrl              = waitUrl;
     Source               = source;
     Type                 = type;
     Build                = build;
     Properties           = properties;
     Errors               = errors;
     CustomInit();
 }