B
Bob
Say I have two app domains, Domain A and Domain B, that I do not want to
pass object references between. Domain A has Assembly A loaded, which
contains a type that inherits from exception. I want to more or less to pass
this exception to Domain B without loading Assembly A in it. I can do this
by passing some strings and then re-throwing an exception, but this seemed
kind of crude. I was thinking of using a serialization helper class, but was
wondering if one wasn't already built in. Or is that overkill? How is this
typically done?
TIA,
Bob
pass object references between. Domain A has Assembly A loaded, which
contains a type that inherits from exception. I want to more or less to pass
this exception to Domain B without loading Assembly A in it. I can do this
by passing some strings and then re-throwing an exception, but this seemed
kind of crude. I was thinking of using a serialization helper class, but was
wondering if one wasn't already built in. Or is that overkill? How is this
typically done?
TIA,
Bob