Table of Contents

Class ProvisionResult

Namespace
Geotab.StoreForward
Assembly
Geotab.Checkmate.ObjectModel.dll

false The result object returned when provisioning a third-party device.

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

isSuccess bool

if set to true [is success].

error string

The error.

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 string

The 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

bool

true if successful; otherwise, false.

SerialNo

Gets or sets the serial no. of the device being provisioned.

public string? SerialNo { get; set; }

Property Value

string

The serial no.