Table of Contents

Class MissingDeviceEulaAcceptanceException

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

An exception that is thrown when a device is attempted to be added but a EULA needs to be accepted first.

public class MissingDeviceEulaAcceptanceException : Exception, ISerializable, IKnownError
Inheritance
MissingDeviceEulaAcceptanceException
Implements
Inherited Members

Constructors

MissingDeviceEulaAcceptanceException(string, string, int?)

Initializes a new instance of the MissingDeviceEulaAcceptanceException class. The default constructor.

public MissingDeviceEulaAcceptanceException(string deviceSerialNumber, string eulaCompanyName, int? lastAcceptedVersion)

Parameters

deviceSerialNumber string

The serial number of the device attempting to be added.

eulaCompanyName string

The name of the company requireing the EULA to be accepted.

lastAcceptedVersion int?

The last accepted version of the EULA (or null if never accepted).

Properties

DeviceSerialNumber

Gets or sets the serial number of the device that requires EULA acceptance.

public string DeviceSerialNumber { get; set; }

Property Value

string

The serial number of the device that requires EULA acceptance.

EulaCompanyName

Gets or sets the company name associated with the EULA.

public string EulaCompanyName { get; set; }

Property Value

string

The company name associated with the EULA.

LastAcceptedVersion

Gets or sets the last version of this EULA accepted (or null if never accepted).

public int? LastAcceptedVersion { get; set; }

Property Value

int?

The last version of this EULA accepted (or null if never accepted).

Message

public override string Message { get; }

Property Value

string