EDIDocumentFinished Event


    EDIDocumentFinished Event

    After creating an EDI document using EDIDocument it is sometimes useful to check when exactly the document creation process is finished. EDIDocument has the EDIDocumentFinished event that is fired when a file has been created.


    // Subscribe to the EDIDocumentFinished Event
    ediDocument.EDIDocumentFinished += new EDIDocument.GeneralEvent(ediDocument_EDIDocumentFinished);

    // Handle event
    void ediDocument_EDIDocumentFinished(object sender)
       MessageBox.Show(“EDI file creation complete!”);

    in EDI Document
    Did this article answer your question?