IotHubDeviceClient.CompleteFileUploadAsync 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.
Notify IoT hub that a device's file upload has finished.
public System.Threading.Tasks.Task CompleteFileUploadAsync(Microsoft.Azure.Devices.Client.FileUploadCompletionNotification notification, System.Threading.CancellationToken cancellationToken = default);
member this.CompleteFileUploadAsync : Microsoft.Azure.Devices.Client.FileUploadCompletionNotification * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Public Function CompleteFileUploadAsync (notification As FileUploadCompletionNotification, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- notification
- FileUploadCompletionNotification
The notification details, including if the file upload succeeded.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Exceptions
When notification
is null.
Thrown when the operation has been canceled.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET