Share via


IAgent.AddFileAsync(String, CancellationToken) Method

Definition

Associate uploaded file with the agent, by identifier.

public System.Threading.Tasks.Task AddFileAsync (string fileId, System.Threading.CancellationToken cancellationToken = default);
abstract member AddFileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function AddFileAsync (fileId As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

fileId
String

The identifier of the uploaded file.

cancellationToken
CancellationToken

A cancellation token

Returns

Applies to