EldoS
Navigation
Web site
Support
Table Of Contents

Filter: C#  VB.NET  Pascal  ActiveX  DLL 


TElASMessage.OnError

TElASMessage     See also    


 

This event is fired when message parsing error occurs.

 
 

Declaration

[C#]
    event TSBASReceiptErrorEvent OnError;
    delegate void TSBASReceiptErrorEvent(object Sender, int Code, string Description, bool Critical, ref TSBASDispositionModifier Modifier, ref string ReportTag, ref bool Ignore);

[VB.NET]
    Event OnError As TSBASReceiptErrorEvent
    Delegate Sub TSBASReceiptErrorEvent(ByVal Sender As Object, ByVal Code As Integer, ByVal Description As String, ByVal Critical As Boolean, ByRef Modifier As TSBASDispositionModifier, ByRef ReportTag As String, ByRef Ignore As Boolean)

[Pascal]
    property OnError : TSBASReceiptErrorEvent;
    TSBASReceiptErrorEvent = procedure(Sender: Object; Code : integer; Description : string; Critical : boolean; var Modifier : TSBASDispositionModifier; var ReportTag : string; var Ignore : boolean) of object;

[VB6]
    not implemented;

[ActiveX]
    not implemented;

[DLL]
    not implemented;
 
 

Parameters

  • Code - the error code, see values below
  • Description - human readable error description
  • Critical - specifies whether the error is critical. For critical error an exception will be raised right after returning from the event handler.
  • Modifier - specifies which modifier for the error should be put into receipt.
  • ReportTag - machine readable text to be placed into receipt for automatic error processing.
  • Ignore - specifies whether the component must ignore the non-critical errors. This parameter is ignored if Critical is True.
 
 

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

 
 

TSBASDispositionModifier values:

[.NET] [Pascal] Description
dmWarning = 0 dmWarning The message was successfully processed but some sort of exceptional condition occurred.
dmError = 1 dmError The message was not successfully processed due to some error.
dmFailure = 2 dmFailure A failure occurred that prevented the proper generation of an MDN.
Declared in
[.NET] [Pascal]
Namespace: SBASCommon
Assembly: SecureBlackbox.EDI
Unit: SBASCommon

 
 

Description

    This event is fired by TElASMessage when the error occurs during message parsing.

 
 

See also:     Errors    

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