IotHubDeviceClient.CompleteFileUploadAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Informez IoT Hub que le chargement de fichiers d’un appareil est terminé.
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
Paramètres
- notification
- FileUploadCompletionNotification
Détails de la notification, y compris si le chargement du fichier a réussi.
- cancellationToken
- CancellationToken
Jeton d'annulation.
Retours
Exceptions
Quand notification
est Null.
Levée lorsque l’opération a été annulée.
S’applique à
Azure SDK for .NET
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour