Thanks for the feedback.
Mike
--------------------
| Mike:
|
| The rational for this is that the client has sub-typed the
| ApplicatonException type is ways that do not directly correlate to the EIF
| schema. I am going to have to create a custom EIF schema and build a
| translation layer to map the ApplicationException sub-types to the custom
| EIF schema. I was just looking to see if there was an easier way to do
| this.
|
[quoted text, click to view] | "Mike Hayton [MS]" <mikehayt_@online.microsoft.com> wrote in message
| news:%232NkbO9nDHA.1804@cpmsftngxa06.phx.gbl...
| > Sorry Steve,
| >
| > Its not possible to filter types that do not have the
| > InstrumentationTypeAttribute (on its class or one of its base classes).
| The
| > EventSource.Raise() method is checking that the object passed to is of a
| > type that has the InstrumentationTypeAttribute and will throw an error
if
| > it doesnt.
| >
| > In the next version of EIF, we could get it that any object could be
| passed
| > and filtered by EIF, but I imagine that you would have to write your own
| > event sink to handle outputting the now arbitary structure of the object
| > passed.
| >
| > What are your thoughts on the above?
| >
| > Mike
| >
| >
| >
| > --------------------
| > | I notice the following definition under <eventCategories> in the EIF
| > configuration file:
| > | <eventCategory name="All Events" description="A category that contains
| > all events.">
| > | <event type="System.Object" />
| > | </eventCategory>
| > | and that the EventSource.Raise method takes a System.Object type as a
| > parameter. Does this imply that it is possible to filter types that are
| > not defined in the EIF schema? Or am I miss interpreting this?
| > | Steve Miller | Solution Developer
| > | US - Central Region
| > | Avanade Inc.
| > | Highwoods Plaza II
| > | 103 Powell Court, Suite 130
| > | Brentwood, TN 37027-5079
| > | Office: 615.309.7000
| > | Email: stevemi@avanade.com
| > |
| >
| > --
| >
| > This posting is provided "AS IS" with no warranties, and confers no
| rights.
| > Use of included script samples are subject to the terms specified at
| >
http://www.microsoft.com/info/cpyright.htm | >
|
|
|
--
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm