| TaskStatusFromXml Method |
Creates a
TaskStatus instance from an XML element.
Namespace:
Ookii.Jumbo.Jet
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax public 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
- Type: System.Xml.LinqXElement
The XML element containing the task status. - job
- Type: Ookii.Jumbo.JetJobStatus
The job that this task belongs to.
Return Value
Type:
TaskStatusA new instance of the
TaskStatus class with the information from the XML document.
See Also