[Mono-dev] Typed dataset binary serialization
marcos b
marcosb at internet.com.uy
Tue Sep 9 09:46:14 EDT 2008
When trying to serialize a typed datasets with mono using binary formatter
using binary remoting format i get a IndexOutOfRangeException.
The same code runs perfectly on .net runtime. (I compiled the code using
vs2005)
static void Main(string[] args)
{
DataSet1 ds = new DataSet1();
ds.RemotingFormat = SerializationFormat.Binary;
BinaryFormatter f = new BinaryFormatter();
MemoryStream ms = new MemoryStream();
f.Serialize(ms, ds);
}
There are plans to support this in mono 2.0 ?
Also I realized that RemotingConfiguration.CustomErrorsMode is not
implemented, so trying to access this property will throw an exception.
I know I can set this property via web.config, but I want to know if I can
set it anyway programmatically
Thanks in advance
--
View this message in context: http://www.nabble.com/Typed-dataset-binary-serialization-tp19374265p19374265.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
More information about the Mono-devel-list
mailing list