Condividi tramite


FileUploadCompletionNotification Class

Definition

The request payload to send to IoT hub to notify it when a file upload is completed, whether successful or not.

public class FileUploadCompletionNotification
type FileUploadCompletionNotification = class
Public Class FileUploadCompletionNotification
Inheritance
FileUploadCompletionNotification

Constructors

FileUploadCompletionNotification(String, Boolean)

Used to tell the service that the client is done uploading a file with the specified correlation Id.

Properties

CorrelationId

The correlation id that maps this completion notification to the file upload. The value should equal the CorrelationId returned from IoT hub when first getting the SAS URI for this file upload.

IsSuccess

Whether the file upload was successful or not.

StatusCode

The status code for the file upload. This is user defined and will be presented to the service client listening for file upload notifications.

StatusDescription

A brief description of the file upload status. This is user defined and will be presented to the service client listening for file upload notifications. This property is optional.

Applies to