Udostępnij za pośrednictwem


PSWorkflowJob.StartJob Method

Definition

start a job. The job will be started with the parameters specified in StartParameters

public:
 override void StartJob();
public:
 override void StartJob();
 override void StartJob();
public override void StartJob ();
override this.StartJob : unit -> unit
Public Overrides Sub StartJob ()

Remarks

It is redudant to have a method named StartJob on a job class. However, this is done so as to avoid an FxCop violation "CA1716:IdentifiersShouldNotMatchKeywords" Stop and Resume are reserved keyworks in C# and hence cannot be used as method names. Therefore to be consistent it has been decided to use *Job in the name of the methods

Applies to