| JobRunnerInfoCreateInstance Method (String, Int32) |
Creates an instance of the job runner with the configuration from the app.config file.
Namespace:
Ookii.Jumbo.Jet.Jobs
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax public IJobRunner CreateInstance(
string[] args,
int index
)
Public Function CreateInstance (
args As String(),
index As Integer
) As IJobRunner
public:
IJobRunner^ CreateInstance(
array<String^>^ args,
int index
)
member CreateInstance :
args : string[] *
index : int -> IJobRunner
Parameters
- args
- Type: SystemString
The arguments for the job. - index
- Type: SystemInt32
The index of the first argument to parse.
Return Value
Type:
IJobRunnerAn instance of the job runner, or
if the incorrect number of arguments was specified.
See Also