[Mono-dev] Web service client - SendOrPostCallback could not be loaded

Rafael Teixeira monoman at gmail.com
Fri Jun 30 14:38:39 EDT 2006


Janne and Miguel,

SendOrPostCallback is a delegate type and it is implemented in Mono
(in corlib), but it is defined only for the 2.0 profile, here is the
source:

#if NET_2_0

using System.Runtime.InteropServices;

namespace System.Threading
{
	[ComVisible (false)]
	public delegate void SendOrPostCallback (object state);
}

#endif

So Janne you may have started the embedded Mono for the wrong profile,
or you may have loaded the 1.x corlib in it, instead of the 2.0 one.


Hope it helps,

On 6/30/06, Janne Rantala <janne.rantala at gmail.com> wrote:
> 2006/6/30, Miguel de Icaza <miguel at ximian.com>:
>
> > Hello,
> >
> > > When I try to initialize client from embedded Mono, I got this error
> > > stating that SendOrPostCallback could not be loaded?
> >
> > It means that this method has not been implemented in Mono yet.
> >
> > Miguel
> >
>
> How is it possible? Few days ago I got that other error I mentioned with
> same assembly.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>
>


-- 
Rafael "Monoman" Teixeira
---------------------------------------
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man." George Bernard Shaw



More information about the Mono-devel-list mailing list