BulkEnrollmentOperationResult Class
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.
Representation of a single Device Provisioning Service bulk operation result with a JSON deserializer.
public class BulkEnrollmentOperationResult
type BulkEnrollmentOperationResult = class
Public Class BulkEnrollmentOperationResult
- Inheritance
-
BulkEnrollmentOperationResult
Examples
The following JSON is an example of the result from a bulk operation.
{
"isSuccessful":true,
"errors": [
{
"registrationId":"validRegistrationId1",
"errorCode":200,
"errorStatus":"Succeeded"
},
{
"registrationId":"validRegistrationId2",
"errorCode":200,
"errorStatus":"Succeeded"
}
]
}
Remarks
This error is returned as a result of the RunBulkOperationAsync(BulkOperationMode, IEnumerable<IndividualEnrollment>, CancellationToken).
The provisioning service provides general bulk result in the isSuccessful, and a individual error result for each enrollment in the bulk.
Constructors
BulkEnrollmentOperationResult() |
Properties
Errors |
Registration errors. |
IsSuccessful |
If false, not all operations in the bulk enrollment succeeded. |
Methods
ToString() |
Convert this object in a pretty print format. |
Applies to
Azure SDK for .NET