CloudAdapter.ProcessProactiveAsync 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.
CloudAdapter handles this override asynchronously if the Activity uses DeliverModes.Normal. Otherwise
as ProcessActivityAsync(ClaimsIdentity, IActivity, AgentCallbackHandler, CancellationToken) using
agent.OnTurnAsync.
public override System.Threading.Tasks.Task ProcessProactiveAsync(System.Security.Claims.ClaimsIdentity claimsIdentity, Microsoft.Agents.Core.Models.IActivity continuationActivity, Microsoft.Agents.Builder.IAgent agent, System.Threading.CancellationToken cancellationToken, string audience = default);
override this.ProcessProactiveAsync : System.Security.Claims.ClaimsIdentity * Microsoft.Agents.Core.Models.IActivity * Microsoft.Agents.Builder.IAgent * System.Threading.CancellationToken * string -> System.Threading.Tasks.Task
Public Overrides Function ProcessProactiveAsync (claimsIdentity As ClaimsIdentity, continuationActivity As IActivity, agent As IAgent, cancellationToken As CancellationToken, Optional audience As String = Nothing) As Task
Parameters
- claimsIdentity
- ClaimsIdentity
- continuationActivity
- IActivity
- agent
- IAgent
- cancellationToken
- CancellationToken
- audience
- String