Serialization bug? (AdomdConnectionException)

Our code is throwing an exception when we try to serialize a connection exception object. The error is show as:
Invalid cast from Microsoft.AnalysisServices.AdomdClient.ConnectionExceptionCause to Microsoft.AnalysisServices.AdomdClient.AdomdErrorCollection.
[InvalidCastException: Invalid cast from Microsoft.AnalysisServices.AdomdClient.ConnectionExceptionCause to Microsoft.AnalysisServices.AdomdClient.AdomdErrorCollection.] System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider) +1228 System.Enum.System.IConvertible.ToType(Type type, IFormatProvider provider) +9 System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider) +1097 System.Runtime.Serialization.FormatterConverter.Convert(Object value, Type type) +25 System.Runtime.Serialization.SerializationInfo.GetValue(String name, Type type) +148 Microsoft.AnalysisServices.AdomdClient.AdomdConnectionException..ctor(SerializationInfo info, StreamingContext context) +60
Using Reflector, there would appear to be a cast that is invalid in the constructor:
privateAdomdConnectionException(SerializationInfo info,StreamingContext context) :base(info,context)
{
this.exceptionCause =ConnectionExceptionCause.Unspecified;
this.exceptionCause = (ConnectionExceptionCause)info.GetValue("ExceptionCauseProperty",typeof(AdomdErrorCollection));
}
[3310 byte] By [solidstore] at [2008-3-3]

SQL Server

Site Classified