BoxClient.DeleteFileAsync(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.
Delete file
public virtual System.Threading.Tasks.Task DeleteFileAsync(string fileId, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteFileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.DeleteFileAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Overridable Function DeleteFileAsync (fileId As String, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- fileId
- String
File Id
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Remarks
Deletes an existing file from Box.