Turn Context<T>.On Delete Activity(DeleteActivityHandler) Method
Adds a response handler for delete activity operations.
public Microsoft.Bot.Builder.ITurnContext OnDeleteActivity (Microsoft.Bot.Builder.DeleteActivityHandler handler);
abstract member OnDeleteActivity : Microsoft.Bot.Builder.DeleteActivityHandler -> Microsoft.Bot.Builder.ITurnContext override this.OnDeleteActivity : Microsoft.Bot.Builder.DeleteActivityHandler -> Microsoft.Bot.Builder.ITurnContext
Public Function OnDeleteActivity (handler As DeleteActivityHandler) As ITurnContext
The handler to add to the context object.
The updated context object.
When the context's DeleteActivityAsync(String, CancellationToken) is called, the adapter calls the registered handlers in the order in which they were added to the context object.