Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

PipelineTaskBase

API reference for PipelineTaskBase in Vendr, the eCommerce solution for Umbraco v8+

PipelineTaskBase

public abstract class PipelineTaskBase : IPipelineAction, IPipelineTask

Inheritance

Namespace

Methods

Execute

Executes the pipeline task.

public abstract PipelineResult Execute(PipelineArgs args)

Parameters

Parameter Description
args
The pipeline args.

Returns

A pipeline result.


Fail

Creates a fail pipeline result.

public virtual PipelineResult Fail()

Returns

A fail pipeline result.


Fail (1 of 3)

Creates a fail pipeline result.

public virtual PipelineResult Fail(object result)

Parameters

Parameter Description
result
The result data.

Returns

A fail pipeline result.


Fail (2 of 3)

Creates a fail pipeline result.

public virtual PipelineResult Fail(object result, Exception exception)

Parameters

Parameter Description
result
The result data.
exception
An exception message.

Returns

A fail pipeline result.


Fail (3 of 3)

Creates a fail pipeline result.

public virtual PipelineResult Fail(Exception exception)

Parameters

Parameter Description
exception
An exception message.

Returns

A fail pipeline result.


Ok

Creates a success pipeline result.

public virtual PipelineResult Ok()

Returns

A success pipeline result.


Ok

Creates a success pipeline result.

public virtual PipelineResult Ok(object result)

Parameters

Parameter Description
result
The result data.

Returns

A success pipeline result.

Edit this page on GitHub

Site + logo design © 2024 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.