.NET Connector Method Reference

.NET Connector Method Reference

Show / Hide Table of Contents
  • Attachmate.Verastream.HostIntegrator.E2V
    • Area
    • ExtraArea
    • ExtraOIA
    • ExtraScreen
    • ExtraSession
    • ExtraSessions
    • ExtraSystem
    • OIA
    • Screen
    • Session
    • Sessions
    • System
  • Attachmate.Verastream.HostIntegrator.EAO2V
    • ATM_AREA
    • ATM_FIELDTYPE
    • ATM_FINDFIELD
    • ATM_OIA
    • ATM_OIA_ERRORSTATUS
    • ATM_OIA_OWNER
    • ATM_OIA_XSTATUS
    • ATM_SESSION_STATE
    • ATM_WRAP
    • AtmConTN3270
    • AtmConstants
    • AtmScreen3270
    • AtmSession
    • AtmSessionConstants
    • IAtmConTN3270
    • IAtmOia3270
    • IAtmScreen3270
    • IAtmSession
    • IAtmWait
  • WRQ.Verastream.HostIntegrator
    • AidKey
    • AttributeMetaData
    • Color
    • ColumnMetaData
    • ColumnType
    • ElementLocation
    • ElementType
    • ErrorMessage
    • FieldMetaData
    • HostIntegratorChannelException
    • HostIntegratorConnectorException
    • HostIntegratorDeadSessionException
    • HostIntegratorException
    • HostIntegratorMarshallerException
    • HostIntegratorModelDataException
    • HostIntegratorModelDefException
    • HostIntegratorRejuvenationSession
    • HostIntegratorServerException
    • HostIntegratorSession
    • HostIntegratorTerminalException
    • HostIntegratorTimeoutException
    • HostIntegratorUserException
    • InputFieldInfo
    • LoggingLevel
    • MetaData
    • MetaDataType
    • ModelDataColumn
    • ModelDataTable
    • OperationMetaData
    • ProcedureMetaData
    • ProcedureType
    • RcConst
    • RecordSetMetaData
    • RegionType
    • RejuvenationAidKey
    • RejuvenationEnablementMode
    • RejuvenationMethod
    • Screen
    • ScreenField
    • ScrollMovement
    • SessionType
    • TerminalAttributes
    • TerminalField
    • TerminalScreen
    • VariableInitialization
    • VariableMetaData
    • VariableType

Class ErrorMessage

Describes a single runtime error. An ErrorMessage has an error code, zero or more parameters, generic error text, and localized error text. Error parameters can either be objects of type String or Int32. Objects of this type are immutable.

To create an ErrorMessage object in an event handler, use the
appropriate createErrorMessage
method.
Inheritance
object
ErrorMessage
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: WRQ.Verastream.HostIntegrator
Assembly: WRQ.Verastream.HostIntegrator.dll
Syntax
public class ErrorMessage
Remarks

The methods and properties of this class provide information associated with an error message.

Properties

ErrorCode

Gets the ID number of an error message.

Declaration
public virtual int ErrorCode { get; }
Property Value
Type Description
int

This property returns the ID number of an error message.

Remarks

Gets the ID number of an error message.

ParameterCount

Gets the number of parameters in an error message.

Declaration
public virtual int ParameterCount { get; }
Property Value
Type Description
int

This property returns the number of parameters in an error message.

Remarks

Gets the number of parameters in an error message.

Text

Gets the text of an error message.

Declaration
public virtual string Text { get; }
Property Value
Type Description
string

This property returns the text of an error message.

Remarks

Gets the text of an error message.

Methods

GetParameter(int)

Returns an error parameter string, for an error message.

Declaration
public virtual string GetParameter(int index)
Parameters
Type Name Description
int index

0-based index of the parameter to be obtained.

Returns
Type Description
string

This method returns a parameter string for an error message.

Remarks

Returns an error parameter string for an error message.

Exceptions
Type Condition
IndexOutOfRangeException

Thrown when the index value is out of range.

In This Article
Back to top © 1985-2024 Rocket Software, Inc. or its affiliates. All Rights Reserved