AttachmentDownloader.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.
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>>
override this.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
- turnState
- ITurnState
- cancellationToken
- CancellationToken