View Single Post
  #2 (permalink)  
Old February 25th, 2008, 07:23 AM
dilipv dilipv is offline
Authorized User
 
Join Date: Jan 2008
Location: , , .
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by bmains
 Hello,

The Process class has an exited event when you instantiate an instance of the Process class. I tried passing to it an anonymous method as a delegate, but it won't fire. I'm not sure if the issue is with the Process.Exited event, and the rules for which it fires.

Is Exited fired every time? Or do I have to attach to another event in case of error?

Thanks.

Brian
Hi there,
    i saw your quote. let me tell u what does the event does. The Exited event indicates that the associated process exited. This occurrence means either that the process terminated (aborted) or successfully closed. This event can occur only if the value of the EnableRaisingEvents property is true. to know more about it check out the following url.

http://msdn2.microsoft.com/en-us/lib...ss.exited.aspx

Hope this will probably help you.

Thank you
Jitesh
Programmer
Sharepoint Consulting