TurnContext.OnUpdateActivity(UpdateActivityHandler) 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.
Adds a response handler for update activity operations.
public Microsoft.Agents.Builder.ITurnContext OnUpdateActivity(Microsoft.Agents.Builder.UpdateActivityHandler handler);
abstract member OnUpdateActivity : Microsoft.Agents.Builder.UpdateActivityHandler -> Microsoft.Agents.Builder.ITurnContext
override this.OnUpdateActivity : Microsoft.Agents.Builder.UpdateActivityHandler -> Microsoft.Agents.Builder.ITurnContext
Public Function OnUpdateActivity (handler As UpdateActivityHandler) As ITurnContext
Parameters
- handler
- UpdateActivityHandler
The handler to add to the context object.
Returns
The updated context object.