+2002-02-07 Duncan Mak <duncan@ximian.com>
+
+ * IsolatedStorage.cs: Added to CVS, stubbed out the API.
+ * IsolatedStorageException.cs: Implemented.
+
2002-01-07 Duco Fijma <duco@lorentz.xs4all.nl>
* Created INormalizeForIsolatedStorage
--- /dev/null
+//\r
+// System.IO.IsolatedStorage.cs\r
+//\r
+// Author: Duncan Mak (duncan@ximian.com)\r
+//\r
+// (C) Ximian, Inc. http://www.ximian.com\r
+//\r
+\r
+using System.Security;\r
+using System.Security.Permissions;\r
+\r
+namespace System.IO.IsolatedStorage\r
+{\r
+ public abstract class IsolatedStorage : MarshalByRefObject\r
+ {\r
+ // Constructor\r
+ protected IsolatedStorage ()\r
+ : base ()\r
+ {\r
+ }\r
+\r
+ // Properties\r
+ [MonoTODO]\r
+ public object AssemblyIdentity\r
+ {\r
+ get { return null; }\r
+ }\r
+\r
+ [CLSCompliant (false)]\r
+ [MonoTODO]\r
+ public virtual ulong CurrentSize\r
+ {\r
+ get { return 0; }\r
+ }\r
+\r
+ [MonoTODO]\r
+ public object DomainIdentity\r
+ {\r
+ get { return null; }\r
+ }\r
+\r
+ [CLSCompliant (false)]\r
+ [MonoTODO]\r
+ public virtual ulong MaximumSize\r
+ {\r
+ get { return 0; }\r
+ }\r
+\r
+ [MonoTODO]\r
+ public IsolatedStorageScope Scope\r
+ {\r
+ get { return 0; }\r
+ }\r
+\r
+ [MonoTODO]\r
+ protected virtual char SeperatorExternal\r
+ {\r
+ get { return Char.MinValue; }\r
+ }\r
+\r
+ [MonoTODO]\r
+ protected virtual char SerperatorInternal\r
+ {\r
+ get { return Char.MinValue; }\r
+ }\r
+\r
+ // Methods\r
+ protected abstract IsolatedStoragePermission GetPermission (PermissionSet ps);\r
+\r
+ [MonoTODO]\r
+ protected void InitStore (IsolatedStorageScope scope, Type domainEvidenceType,\r
+ Type assemblyEvidenceType)\r
+ {\r
+ }\r
+\r
+ protected abstract void Remove ();\r
+ }\r
+}\r
--- /dev/null
+//
+// System.IO.IsolatedStorage.IsolatedstorageException
+//
+// Author: Duncan Mak (duncan@ximian.com)
+//
+// (C) 2002, Ximian, Inc. http://www.ximian.com
+//
+
+using System.Globalization;
+using System.Runtime.Serialization;
+
+namespace System.IO.IsolatedStorage
+{
+ [Serializable]
+ public class IsolatedStorageException : Exception
+ {
+ public IsolatedStorageException ()
+ : base (Locale.GetText ("An Isolated storage operation failed."))
+ {
+ }
+
+ public IsolatedStorageException (string message)
+ : base (message)
+ {
+ }
+
+ public IsolatedStorageException (string message, Exception inner)
+ : base (message, inner)
+ {
+ }
+
+ protected IsolatedStorageException (SerializationInfo info, StreamingContext context)
+ : base (info, context)
+ {
+ }
+ }
+}