Question : Cross appdomain communication winthin single process on single machine in c#

i have multiple dlls in different different appdomain.i mean that every appdomain is holding one single assembly.like that i having 12 appdomains in one single process.and it is not cross network communication .it is on single machine.how i can pass message between appdomains.suppose that appdoamin A is holding Assembly A and appDomain B is holding Assembly B.while runing a single process which is holding both appDomain A and appDomain B if some exception or error comes in Assembly A or Appdomain A then i want to notify it to Appdomain B or Assembly B.i mean that i want  information should be shared among assembly ,anything happens in any assembly then other assembly also should know that what is happening there.and how we will handle appdomain exception?how we can do it?kindly give me code with possible description.

Answer : Cross appdomain communication winthin single process on single machine in c#

Random Solutions  
 
programming4us programming4us