Language

BotApplicationOptions.ProcessActivityTimeout Property

Definition

Gets or sets the maximum time allowed for processing an incoming activity. This timeout replaces the HTTP request's cancellation token so that handlers (especially streaming handlers) are not canceled when the incoming HTTP connection closes. Defaults to 5 minutes. Set to InfiniteTimeSpan to disable the timeout.

public TimeSpan ProcessActivityTimeout { get; set; }
member this.ProcessActivityTimeout : TimeSpan with get, set
Public Property ProcessActivityTimeout As TimeSpan

Property Value

Applies to