marshalbyrefobject Questions
2
Solved
I have been trying to serialize an array across an AppDomain boundary, using the following code:
public int Read(byte[] buffer, int offset, int count)
{
return base.Read(buffer, offset, count);
}...
Theresatherese asked 30/1, 2012 at 22:56
7
Solved
I need to use cross-appdomain calls in my app, and sometimes I have this RemotingException:
Object '/2fa53226_da41_42ba_b185_ec7d9c454712/ygiw+xfegmkhdinj7g2kpkhc_7.rem' has been disconnected or...
Gdynia asked 14/6, 2011 at 5:31
4
Solved
Accessing a member on Form may cause a runtime exception because it
is a field of a marshal-by-reference class
I know what this warning is and know how to solve it.
My question is why could t...
Reject asked 14/11, 2010 at 17:4
2
Solved
I have a plugin system where I use MarshalByRefObject to create isolated domains per plugin, so users can reload their new versions, as they see fit without having to turn off the main application....
Marcelenemarcelia asked 29/5, 2016 at 11:56
1
I have a custom framework where a host application runs an event loop and loads a guest application into a separate app-domain. The guest application has means to take advantage of the event loop v...
Gretchengrete asked 27/2, 2015 at 5:32
2
Solved
So lately I've been working on a project where the application (or executable,whatever you wish to call it) needs to be able to load and unload assemblies not found within the executable's folder a...
Fairminded asked 10/10, 2013 at 10:56
5
Solved
How to solve "Must be MarshalByRefObject" in a good but multiple-inheritance amputated language like C#?
The problem is very simple, in several cases you just have to inherit from this class (infr...
Mindamindanao asked 24/11, 2008 at 1:38
3
Solved
I have been trying to get the following code to work(everything is defined in the same assembly) :
namespace SomeApp{
public class A : MarshalByRefObject
{
public byte[] GetSomeData() { // }
}
...
Agnew asked 28/5, 2010 at 20:40
1
Solved
I have some code that relied on methods not being inlined :
internal class MyClass : BaseClass
{
// should not be inlined
public void DoSomething(int id)
{
base.Execute(id);
}
}
public abstr...
Hydrolysate asked 19/1, 2012 at 10:18
2
Solved
Various sources explain that
When an object derives form MarshalByRefObject, an object reference
will be passed from one application domain to another rather than the
object itself. When an ob...
Wistful asked 7/1, 2012 at 22:57
1
Solved
I'm wondering if it's possible to annotate my classes so that the first time the marshaller encounters an object, it generates an XML element of the appropriate type, but any subsequent reference t...
Schleicher asked 28/9, 2011 at 17:22
1
© 2022 - 2024 — McMap. All rights reserved.