CorrelationID

Topics: Logging Application Block
Aug 4, 2010 at 12:44 AM

We are planning to use CorrelationID for grouping events. What propoerty of LogEntry I should be using?

 

Thanks

Aug 4, 2010 at 2:36 AM

I would like to qualify my question. We are planning to use CorrelationID for grouping related events. E.g. for one call originating from UI,  the tier where exception occurs will generate a correlationID and then this correlationID will passed as the exception bubbles up till a tier where it is handled. Exception handling code in that tier will set correlationID to appropriate property of LogEntry. What property of LogEntry object is suitable for this?

 

Thanks

Aug 4, 2010 at 2:42 AM

Unfortunately, there's no property of a LogEntry which maps to the CorrelationId property of a Message object.

 

Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.
entlib.support@Avanade.com