Discuss this help topic in SecureBlackbox Forum

TElASMessageErrorList.Add

TElASMessageErrorList     See also     


Filter: C#/Java  VB.NET  Pascal  C++  PHP  


Adds an error to the list.

Declaration

[C#/Java]
    int Add(int ACode, string ASummary, string ADescription, TSBASDispositionModifier AModifier, bool Adjust);

[VB.NET]
    Function Add(ByVal ACode As Integer, ByVal ASummary As String, ByVal ADescription As String, ByVal AModifier As TSBASDispositionModifier, ByVal Adjust As Boolean) As Integer

[Pascal]
    function Add(ACode : integer; const ASummary, ADescription : string; AModifier : TSBASDispositionModifier; Adjust : boolean = True): integer;

[C++]
    int32_t Add(int32_t ACode, const std::string &ASummary, const std::string &ADescription, TSBASDispositionModifier AModifier, bool Adjust);

[PHP]
    integer Add(integer $ACode, string $ASummary, string $ADescription, integer $AModifier, bool $Adjust)

Parameters

  • ACode - message error code
  • ASummary - error summary
  • ADescription - error descriptiom
  • AModifier - error disposition modifier
  • Adjust - specifies whether to adjust disposition modifier and status of the message according to disposition modifier of the newly added error

Error codes:


SBASDispositionModifier values:


Return value

    Returns index of the newly added item in the list.

Description

    Use this method to add an error to the list.

See also:     Clear     Delete     Items     Modifier     Status    

Discuss this help topic in SecureBlackbox Forum