Using Distinguished fields

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Using Distinguished fields

Viewing 1 reply thread
  • Author
    Posts
    • #18384

      Hi There, I feel this is a noddy question so I apologise up-front: I have some distinguished fields which I want to write out to the event log and was wondering the best way to do this?

      Best Regards,

      Zen

    • #18440

      You can create a .Net Helper Class to help this out.  Inside this class use the System.Diagnostics.EventLog.WriteEntry() method to populate the event viewer.  You can simply pass your distinguished fields onto your helper class from within an Expression shape in your orchestration.  You could also call this method directly from an expression shape as well. 

      We have developed our own helper class to standardize the way we log to the eventviewer across all of our BTS Apps.

       

       

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.