BotFrameworkAdapter.CanProcessOutgoingActivity(Activity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.