 | TaskStatusFromXml Method |
Creates a
TaskStatus instance from an XML element.
Namespace: Ookii.Jumbo.JetAssembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic static TaskStatus FromXml(
XElement task,
JobStatus job
)
Public Shared Function FromXml (
task As XElement,
job As JobStatus
) As TaskStatus
public:
static TaskStatus^ FromXml(
XElement^ task,
JobStatus^ job
)
static member FromXml :
task : XElement *
job : JobStatus -> TaskStatus
Parameters
- task XElement
- The XML element containing the task status.
- job JobStatus
- The job that this task belongs to.
Return Value
TaskStatusA new instance of the
TaskStatus class with the information from the XML document.
See Also