Table of Contents

Class GatewayServiceResult

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

Root class containing common elements for the requests to the Gateway service.

public class GatewayServiceResult
Inheritance
GatewayServiceResult
Derived
Inherited Members

Remarks

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

Constructors

GatewayServiceResult(Exception?, DateTime?)

Initializes a new instance of the GatewayServiceResult class.

protected GatewayServiceResult(Exception? exception, DateTime? attemptedDateTime)

Parameters

exception Exception

The exception to encapsulate.

attemptedDateTime DateTime?

The attempted registration date/time.

Properties

AttemptedDateTime

Gets the attempted date/time (UTC).

public DateTime? AttemptedDateTime { get; }

Property Value

DateTime?

DateTime The attempted date/time (UTC).

Exception

Gets the Gateway registration exception.

public Exception? Exception { get; }

Property Value

Exception

Exception The exception.

ExceptionMessage

Gets the exception message.

public string? ExceptionMessage { get; }

Property Value

string

string The error string.

ExceptionType

Gets the exception type.

public string? ExceptionType { get; }

Property Value

string

string The exception type.

IsSuccess

Gets a value indicating whether the request was successful.

public bool IsSuccess { get; }

Property Value

bool

bool The boolean insdicating success.