Exception Handling across Process

  • Thread starter Thread starter Karthik
  • Start date Start date
K

Karthik

Dear all,

I m having 2 processes process 1 and process 2
Im calling process 2 from Process 1 and there is an exception
happening in process 2
i need to handle that exception in process 1
How this can done in C sharp

I came to know about process.standard error. But that can be handled
only for Standard exceptions and not for others.

Please help me.

Thanks,
Prince Victor.
 
I m having 2 processes process 1 and process 2
Im calling process 2 from Process 1 and there is an exception
happening in process 2
i need to handle that exception in process 1
How this can done in C sharp

In general, it cannot. For some specific cases (e.g. .NET Remoting) it
may be possible (though still a bit of a stretch), but since you are
very light on details of your case, there's nothing that can be said
here.

Keep in mind that processes are isolated. You cannot, in general, pass
a .NET object from one process to another; why would exception be any
different? Besides, a different process might not be a .NET one at
all...
 
Back
Top