IInputFileDownloader.DownloadFilesAsync 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.
Download any files relative to the current user's input.
public System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Agents.Builder.App.InputFile>> DownloadFilesAsync(Microsoft.Agents.Builder.ITurnContext turnContext, Microsoft.Agents.Builder.State.ITurnState turnState, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadFilesAsync : Microsoft.Agents.Builder.ITurnContext * Microsoft.Agents.Builder.State.ITurnState * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Agents.Builder.App.InputFile>>
Public Function DownloadFilesAsync (turnContext As ITurnContext, turnState As ITurnState, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of InputFile))
Parameters
- turnContext
- ITurnContext
The turn context.
- turnState
- ITurnState
The turn state.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
A list of input files