Contains information about a pipeline task that is assigned to a task runner.

 /// <summary>
 /// Sets the TaskObject property
 /// </summary>
 /// <param name="taskObject">The value to set for the TaskObject property </param>
 /// <returns>this instance</returns>
 public PollForTaskResult WithTaskObject(TaskObject taskObject)
 {
     this.taskObject = taskObject;
     return this;
 }
 /// <summary>
 /// Sets the TaskObject property
 /// </summary>
 /// <param name="taskObject">The value to set for the TaskObject property </param>
 /// <returns>this instance</returns>
 public PollForTaskResult WithTaskObject(TaskObject taskObject)
 {
     this.taskObject = taskObject;
     return(this);
 }