[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.remoting

Re: Remoting a Collection Object

Sunny

7/27/2004 10:22:00 PM

Hi,

Collection class does not inherit from MBR, so it can not be exposed
directly. I would think about some kind of wrapper. Create your own MBR
class, which has a private Collection member. And forward the calls to
it.

Sunny

In article <6AC47491-E383-4BAF-9725-1669E084915A@microsoft.com>,
Terry@discussions.microsoft.com says...
> I'm getting the following compiler error:
>
> Value of type 'Microsoft.VisualBasic.Collection' cannot be converted to 'System.MarshalByRefObject'.
>
> I'm trying to make a collection object remotely accessible. I do not wish to have several remote copies as the number of items in the collection is dynamic. I want one copy where remote computers can access the methods and properties.
>
> Please advise,
> Terry
>