Click or drag to resize

CommandResult Class

This class is used to indicate the result of OpsCommands and other functions.
Inheritance Hierarchy
SystemObject
  ResultBase
    Micros.OpsCommandResult

Namespace:  Micros.Ops
Assembly:  Ops (in Ops.dll) Version: 18.2
Syntax
C#
public class CommandResult : ResultBase

The CommandResult type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyStatic memberCancelled
Command was cancelled.
Public propertyStatic memberFailure
Micros internal use only.
Public propertyIdEnum
EErrorIds value.
(Overrides ResultBase.IdEnum.)
Public propertyStatic memberNext
Next set of data requested.
Public propertyStatic memberNoMessage
Command failed but an error message should not be displayed.
Public propertyStatic memberNotImplemented
Micros internal use only.
Public propertyStatic memberOperationNotAllowedForThisPlatform
Micros internal use only.
Public propertyStatic memberPrevious
Previous set of data requested.
Public propertyStatic memberSuccess
Command was successful.
Public propertyStatic memberTemp
Micros internal use only.
Public propertyStatic memberTransText
The TranslatedText instance to be used in translating/formatting an error message.
Top
Methods
  NameDescription
Public methodFormat
Format an error message for a failed command. If the EErrorId = ErrorWithString and Data is a string, Data will be used as the error message. If Data is an object[] it is assumed to be arguments for the pre-formated error message.
(Overrides ResultBase.Format.)
Public methodToAutoTestString
String representation of this CommandResult for use in testing.
Public methodToLogString
String representation of this CommandResult for use in logging.
Top
Fields
  NameDescription
Public fieldData
Data to be used when formatting the error message for a failed command.
Public fieldDsResult
DataStore result instance.
Public fieldId
EErrorIds value.
Top
See Also