EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElASMessageErrorList.IndexOf

TElASMessageErrorList     See also    


 

Returns index of the desired error in the list.

 
 

Declaration

[C#]
    int IndexOf(TElASMessageError Error);
    int IndexOf(int Code);

[VB.NET]
    Function IndexOf(ByVal Error As TElASMessageError) As Integer
    Function IndexOf(ByVal Code As Integer) As Integer

[Pascal]
    function IndexOf(Error : TElASMessageError): integer;
    function IndexOf(Code : integer) : integer;

[VB6]
    not applicable;

[ActiveX]
    not applicable;

[DLL]
    not implemented;
 
 

Parameters

  • Error - desired message error
  • Code - message error code
 
 

Error codes:

Definition Value
SB_AS_ERROR_INTERNAL 9984 (0x2700)
SB_AS_ERROR_CANNOT_OPEN_INPUT 9985 (0x2701)
SB_AS_ERROR_CANNOT_OPEN_OUTPUT 9986 (0x2702)
SB_AS_ERROR_INVALID_ENCRYPTION_ALGORITHM 9987 (0x2703)
SB_AS_ERROR_INVALID_BITS_NUMBER 9988 (0x2704)
SB_AS_ERROR_NO_RECEIPT_TARGET 9989 (0x2705)
SB_AS_ERROR_NO_ENCRYPTING_CERTIFICATES 9990 (0x2706)
SB_AS_ERROR_NO_SIGNING_CERTIFICATES 9991 (0x2707)
SB_AS_ERROR_INVALID_ORIGINATOR 9992 (0x2708)
SB_AS_ERROR_INVALID_RECIPIENT 9993 (0x2709)
SB_AS_ERROR_HEADER_ASSEMBLING_FAILED 9994 (0x270A)
SB_AS_ERROR_NO_OUTPUT_STREAM 9995 (0x270B)
SB_AS_ERROR_FILE_NOT_EXISTS 9996 (0x270C)
SB_AS_ERROR_INVALID_MESSAGE_HEADER 9997 (0x270D)
SB_AS_ERROR_INVALID_MESSAGE_HEADER_CHARSET 9998 (0x270E)
SB_AS_ERROR_INVALID_MESSAGE_DATE 9999 (0x270F)
SB_AS_ERROR_INVALID_VERSION 10000 (0x2710)
SB_AS_ERROR_NO_VERSION 10001 (0x2711)
SB_AS_ERROR_NO_MESSAGE_ID 10002 (0x2712)
SB_AS_ERROR_NO_SMIME_TYPE 10003 (0x2713)
SB_AS_ERROR_INVALID_SMIME_TYPE 10004 (0x2714)
SB_AS_ERROR_NO_ENCRYPTION_TRANSFER_ENCODING 10005 (0x2715)
SB_AS_ERROR_INVALID_ENCRYPTION_TRANSFER_ENCODING 10006 (0x2716)
SB_AS_ERROR_NO_ENCRYPTION_DISPOSITION 10007 (0x2717)
SB_AS_ERROR_INVALID_ENCRYPTION_DISPOSITION 10008 (0x2718)
SB_AS_ERROR_NO_CONTENT_TYPE 10009 (0x2719)
SB_AS_ERROR_NO_CONTENT_DISPOSITION 10010 (0x271A)
SB_AS_ERROR_INVALID_CONTENT_DISPOSITION 10011 (0x271B)
SB_AS_ERROR_NO_FILE_NAME 10012 (0x271C)
SB_AS_ERROR_NO_FILE_CREATION_DATE 10013 (0x271D)
SB_AS_ERROR_INVALID_FILE_CREATION_DATE 10014 (0x271E)
SB_AS_ERROR_NO_FILE_MODIFICATION_DATE 10015 (0x271F)
SB_AS_ERROR_INVALID_FILE_MODIFICATION_DATE 10016 (0x2720)
SB_AS_ERROR_NO_CONTENT_TRANSFER_ENCODING 10017 (0x2721)
SB_AS_ERROR_INVALID_CONTENT_TRANSFER_ENCODING 10018 (0x2722)
SB_AS_MIME_INVALID_RECEIPT_REQUEST_OPTIONS 10019 (0x2723)
SB_AS_ERROR_NO_RECEIPT_SIGNATURE_PROTOCOL 10020 (0x2724)
SB_AS_ERROR_INVALID_RECEIPT_SIGNATURE_PROTOCOL 10021 (0x2725)
SB_AS_ERROR_NO_RECEIPT_SIGNATURE_PROTOCOL_REQUIREMENT 10022 (0x2726)
SB_AS_ERROR_INVALID_RECEIPT_SIGNATURE_PROTOCOL_REQUIREMENT 10023 (0x2727)
SB_AS_ERROR_NO_RECEIPT_DIGEST_ALGORITHM 10024 (0x2728)
SB_AS_ERROR_NO_RECEIPT_DIGEST_ALGORITHM_REQUIREMENT 10025 (0x2729)
SB_AS_ERROR_INVALID_RECEIPT_DIGEST_ALGORITHM 10026 (0x272A)
SB_AS_ERROR_INVALID_RECEIPT_DIGEST_ALGORITHM_REQUIREMENT 10027 (0x272B)
SB_AS_ERROR_NO_SIGNATURE_PROTOCOL 10028 (0x272C)
SB_AS_ERROR_INVALID_SIGNATURE_PROTOCOL 10029 (0x272D)
SB_AS_ERROR_NO_SIGNATURE_MICALG 10030 (0x272E)
SB_AS_ERROR_INVALID_SIGNATURE_MICALG 10031 (0x272F)
SB_AS_ERROR_NO_SIGNATURE_BOUNDARY 10032 (0x2730)
SB_AS_ERROR_INVALID_MESSAGE_CHARSET 10033 (0x2731)
SB_AS_ERROR_INVALID_MESSAGE_FORMAT 10034 (0x2732)
SB_AS_ERROR_DECRYPTION_FAILED 10035 (0x2733)
SB_AS_ERROR_ERRORS_ASSEMBLING_FAILED 10036 (0x2734)
SB_AS_ERROR_INVALID_CONTENT_TYPE 10037 (0x2735)
SB_AS_ERROR_NO_REPORT_TYPE 10038 (0x2736)
SB_AS_ERROR_INVALID_REPORT_TYPE 10039 (0x2737)
SB_AS_ERROR_NO_REPORT_BOUNDARY 10040 (0x2738)
SB_AS_ERROR_INVALID_RECEIPT_DISPOSITION_FORMAT 10041 (0x2739)
SB_AS_ERROR_INVALID_DISPOSITION_ACTION_MODE 10042 (0x273A)
SB_AS_ERROR_INVALID_DISPOSITION_SENDING_MODE 10043 (0x273B)
SB_AS_ERROR_INVALID_DISPOSITION_STATUS 10044 (0x273C)
SB_AS_ERROR_INVALID_DISPOSITION_MODIFIER 10045 (0x273D)
SB_AS_ERROR_INVALID_SIGNATURE_DIGEST_ALGORITHM 10046 (0x273E)
Declared in
[.NET] [Pascal]
Namespace: SBASConstants
Assembly: SecureBlackbox.EDI
Unit: SBASConstants

 
 

Return value

    Returns index of the desired item in the list.
    If there are more than one items that satisfy the criteria, the index of the first one is returned.
    If there no matches were found, -1 is returned.

 
 

Description

    Use this method to get the index of the desired error in the list using error object itself or error code.

 
 

See also:     First     Last     Sort    

 
Contact Us | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2012, EldoS Corporation