0
我有以下代碼;我想將它轉換爲winRT。其實,我不知道如何處理ISerializable的,序列化,的SerializationInfo和COMPACT_FRAMEWORK從.Net到winRT的轉換
using System;
using System.Collections;
#if !COMPACT_FRAMEWORK
using System.Runtime.Serialization;
#endif
namespace Coversant.Attributes
{
[Serializable]
public class AssertionFailedError : Exception
#if !COMPACT_FRAMEWORK, ISerializable
#endif
{
#if !COMPACT_FRAMEWORK
protected AssertionFailedError(SerializationInfo info, StreamingContext context) : base(info, context){}
#endif
}
}