BotFrameworkHttpAdapterBase.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.
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.