Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Enterprise Tools / November 2003

Tip: Looking for answers? Try searching our database.

EIF event sink configuration.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve Miller - 21 Oct 2003 03:32 GMT
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
David Keogh [MSFT] - 23 Oct 2003 19:00 GMT
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.
[quoted text clipped - 8 lines]
| 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
[quoted text clipped - 6 lines]
|
| Steve Miller
- 18 Nov 2003 14:03 GMT
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?

>-----Original Message-----
>Yes, that's exactly what you can do.
[quoted text clipped - 7 lines]
>    </eventSink>
>    <eventSink name="traceSink" description="Outputs to
trace session 2."
>type="Microsoft.EnterpriseInstrumentation.EventSinks.TraceEventSink">
>      <parameter name="sessionName"
value="TraceSession2" />
>    </eventSink>
>
[quoted text clipped - 30 lines]
>
>.
Steve Miller - 18 Nov 2003 14:34 GMT
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

> Yes, that's exactly what you can do.
>
[quoted text clipped - 26 lines]
> | 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
[quoted text clipped - 9 lines]
> |
> | Steve Miller
Barath Vasudevan [MS] - 18 Nov 2003 17:30 GMT
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

--------------------
>From: "Steve Miller" <stevemi@avanade.com>
>References: <ODGJcu3lDHA.424@TK2MSFTNGP10.phx.gbl>
<a4J#h#YmDHA.1548@cpmsftngxa06.phx.gbl>
>Subject: Re: EIF event sink configuration.
>Date: Tue, 18 Nov 2003 09:34:36 -0500
[quoted text clipped - 7 lines]
>NNTP-Posting-Host: 216.183.179.1
>Path:
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.
phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.vsnet.enterprise.tools:1418
>X-Tomcat-NG: microsoft.public.vsnet.enterprise.tools
[quoted text clipped - 39 lines]
>>
>cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.