Jaa


BotFrameworkHttpAdapterBase.CanProcessOutgoingActivity(Activity) Method

Definition

Evaluates if processing an outgoing activity is possible.

protected override bool CanProcessOutgoingActivity (Microsoft.Bot.Schema.Activity activity);
override this.CanProcessOutgoingActivity : Microsoft.Bot.Schema.Activity -> bool
Protected Overrides Function CanProcessOutgoingActivity (activity As Activity) As Boolean

Parameters

activity
Activity

The outgoing activity.

Returns

Whether should call ProcessOutgoingActivityAsync to send the outgoing activity.

Remarks

If returns true, ProcessOutgoingActivityAsync(ITurnContext, Activity, CancellationToken) will be responsible for sending the outgoing activity.

Applies to