Jaa


BotFrameworkAdapter.CanProcessOutgoingActivity(Activity) Method

Definition

Opportunity for subclasses to opt in to process an outgoing activity.

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

Parameters

activity
Activity

The outgoing activity.

Returns

Whether should call ProcessOutgoingActivityAsync to send the outgoing activity.

Remarks

Subclasses can override ProcessOutgoingActivityAsync. If CanProcessOutgoingActivity returns true, ProcessOutgoingActivityAsync will be responsible for sending the outgoing activity.

Applies to