all groups > visual studio .net enterprise tools > october 2003 >
You're in the

visual studio .net enterprise tools

group:

EIF event sink configuration.


EIF event sink configuration. Steve Miller
10/20/2003 10:32:38 PM
visual studio .net enterprise tools:
When you define an event sink in the <EventSinks></EventSinks> section of
the EIF configuration file you have to specifiy the type to be used for the
event sink. Is it possilbe to use the same type with different event sink
definitions? For instance, I would like to use the same type with different
parameters and in different event filtering configurations.

Steve Miller

RE: EIF event sink configuration. dkeogh NO[at]SPAM online.microsoft.com
10/23/2003 6:00:12 PM
Yes, that's exactly what you can do.

For instance, two bind event sources to two different trace sessions, you
would have something like this in your event sinks section:

<eventSink name="traceSink" description="Outputs to trace session 1."
type="Microsoft.EnterpriseInstrumentation.EventSinks.TraceEventSink">
<parameter name="sessionName" value="TraceSession1" />
</eventSink>
<eventSink name="traceSink" description="Outputs to trace session 2."
type="Microsoft.EnterpriseInstrumentation.EventSinks.TraceEventSink">
<parameter name="sessionName" value="TraceSession2" />
</eventSink>

Hope this helps,
David [MSFT]

--------------------
| From: "Steve Miller" <stevemi@avanade.com>
| Subject: EIF event sink configuration.
| Date: Mon, 20 Oct 2003 22:32:38 -0400
| Lines: 9
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <ODGJcu3lDHA.424@TK2MSFTNGP10.phx.gbl>
| Newsgroups: microsoft.public.vsnet.enterprise.tools
| NNTP-Posting-Host: reverse.24.x.114.209.idealapps.com 209.114.239.24
| Path:
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.
phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.enterprise.tools:1214
| X-Tomcat-NG: microsoft.public.vsnet.enterprise.tools
|
| When you define an event sink in the <EventSinks></EventSinks> section of
| the EIF configuration file you have to specifiy the type to be used for
the
| event sink. Is it possilbe to use the same type with different event sink
| definitions? For instance, I would like to use the same type with
different
| parameters and in different event filtering configurations.
|
| Steve Miller
|
|
|
RE: EIF event sink configuration. anonymous NO[at]SPAM discussions.microsoft.com
11/18/2003 6:03:35 AM
David:

In the example below should the same "name" attribute be
used when defining the <eventSink> element? How would
EIF know which one to use?


[quoted text, click to view]
Re: EIF event sink configuration. Steve Miller
11/18/2003 9:34:36 AM
David:

In the example below, should the "name" attribute be different in
<eventSink> element definition? Else how would the EIF know which one to
use?

sm

[quoted text, click to view]

Re: EIF event sink configuration. bvasude NO[at]SPAM online.microsoft.com
11/18/2003 5:30:02 PM
Hi,

The "name" attribute is just the name of the property that the TraceSink
expects/needs to be set. The "value" attribute is what the tracesink/eif
uses to distinguish the different trace sessions.

Hope it helps.

Barath
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

--------------------
[quoted text, click to view]
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.
phx.gbl
[quoted text, click to view]
AddThis Social Bookmark Button