Table of Contents

Class AddDataResult

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

The result object returned when adding data for a third-party device.

public class AddDataResult
Inheritance
AddDataResult
Inherited Members

Constructors

AddDataResult()

public AddDataResult()

Properties

Error

Gets or sets the error.

public string? Error { get; set; }

Property Value

string

The error.

IsSuccess

Gets or sets a value indicating whether adding data is successful.

public bool IsSuccess { get; set; }

Property Value

bool

true if successful; otherwise, false.

Methods

CreateErrorResult(string)

Creates an error result instances.

public static AddDataResult CreateErrorResult(string errorMessage)

Parameters

errorMessage string

The errorMessage.

Returns

AddDataResult

A instance of AddDataResult

CreateSuccessResult()

Creates a success result instances.

public static AddDataResult CreateSuccessResult()

Returns

AddDataResult

A instance of AddDataResult