Share via


Chain.PostEvent<T,E>(IDialog<T>, E) Method

Definition

When the antecedent IDialog<TResult> has completed, post the item to the event queue.

public static Microsoft.Bot.Builder.Dialogs.IDialog<T> PostEvent<T,E> (this Microsoft.Bot.Builder.Dialogs.IDialog<T> antecedent, E event);
static member PostEvent : Microsoft.Bot.Builder.Dialogs.IDialog<'T> * 'E -> Microsoft.Bot.Builder.Dialogs.IDialog<'T>
<Extension()>
Public Function PostEvent(Of T, E) (antecedent As IDialog(Of T), event As E) As IDialog(Of T)

Type Parameters

T

The type of the antecedent dialog.

E

The type of the event.

Parameters

antecedent
IDialog<T>

The antecedent IDialog<TResult>.

event
E

The event.

Returns

IDialog<T>

The result from the antecedent IDialog<TResult>.

Applies to