Extensions.Fail<C>(IFiber<C>, Exception) Method

Definition

public static Microsoft.Bot.Builder.Internals.Fibers.IWait<C> Fail<C> (this Microsoft.Bot.Builder.Internals.Fibers.IFiber<C> fiber, Exception error);
static member Fail : Microsoft.Bot.Builder.Internals.Fibers.IFiber<'C> * Exception -> Microsoft.Bot.Builder.Internals.Fibers.IWait<'C>
<Extension()>
Public Function Fail(Of C) (fiber As IFiber(Of C), error As Exception) As IWait(Of C)

Type Parameters

C

Parameters

fiber
IFiber<C>
error
Exception

Returns

Applies to