IAgent.RemoveFileAsync(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.
Remove association of uploaded file with the agent, by identifier.
public System.Threading.Tasks.Task RemoveFileAsync (string fileId, System.Threading.CancellationToken cancellationToken = default);
abstract member RemoveFileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function RemoveFileAsync (fileId As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- fileId
- String
The identifier of the uploaded file.
- cancellationToken
- CancellationToken
A cancellation token