DeviceClient.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. See this documentation for more details.
public System.Threading.Tasks.Task CompleteFileUploadAsync (Microsoft.Azure.Devices.Client.Transport.FileUploadCompletionNotification notification, System.Threading.CancellationToken cancellationToken = default);
member this.CompleteFileUploadAsync : Microsoft.Azure.Devices.Client.Transport.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
The task to await.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET