IAgent.AddFileAsync(String, CancellationToken) 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.
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