Class ProvisionResult
- Namespace
- Geotab.StoreForward
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public class ProvisionResult
- Inheritance
-
ProvisionResult
- Inherited Members
Constructors
ProvisionResult()
Initializes a new instance of the ProvisionResult class.
public ProvisionResult()
ProvisionResult(bool, string)
Initializes a new instance of the ProvisionResult class. Constructs an unsuccessful result including an error message.
public ProvisionResult(bool isSuccess, string error)
Parameters
ProvisionResult(string)
Initializes a new instance of the ProvisionResult class. Constructs a successful result including the provisioned serial number.
public ProvisionResult(string serialNo)
Parameters
serialNo
stringThe serial no.
Properties
Error
Gets or sets the string error code describing why the provision failed.
public string? Error { get; set; }
Property Value
- string
The error.
IsSuccess
Gets or sets a value indicating whether the provisioning is successful.
public bool IsSuccess { get; set; }
Property Value
SerialNo
Gets or sets the serial no. of the device being provisioned.
public string? SerialNo { get; set; }
Property Value
- string
The serial no.