Table of Contents

Class RegistrationResult

Namespace
Geotab.Checkmate.ObjectModel.Registration.Gateway
Assembly
Geotab.Checkmate.ObjectModel.dll

Abstract class containing common elements for the registration requests via the Gateway.

public abstract class RegistrationResult : GatewayServiceResult
Inheritance
RegistrationResult
Derived
Inherited Members

Remarks

The API will generate and throw exceptions. We will package them and add additional properties as applicable.

Constructors

RegistrationResult(Exception?, Jurisdiction?, DateTime?)

Initializes a new instance of the RegistrationResult class.

protected RegistrationResult(Exception? exception, Jurisdiction? attemptedJurisdiction, DateTime? attemptedDateTime)

Parameters

exception Exception

The exception to encapsulate.

attemptedJurisdiction Jurisdiction?

The jurisdiction requested.

attemptedDateTime DateTime?

The attempted registration date/time.

Properties

AttemptedJurisdiction

Gets the attempted jurisdiction.

public Jurisdiction? AttemptedJurisdiction { get; }

Property Value

Jurisdiction?

Jurisdiction The attempted jurisdiction.

IsKnownError

Gets a value indicating whether the error during the request is known.

public abstract bool? IsKnownError { get; }

Property Value

bool?

bool The boolean insdicating this is a known error, if an error is present.