3 // Copyright (c) Microsoft Corporation. All rights reserved.
6 /*============================================================
8 * Class: IsolatedStorageException
10 // <OWNER>Microsoft</OWNER>
13 * Purpose: The exceptions in IsolatedStorage
17 ===========================================================*/
18 namespace System.IO.IsolatedStorage {
21 using System.Runtime.Serialization;
23 [System.Runtime.InteropServices.ComVisible(true)]
24 public class IsolatedStorageException : Exception
28 internal Exception m_UnderlyingException;
30 public IsolatedStorageException()
31 : base(Environment.GetResourceString("IsolatedStorage_Exception"))
33 SetErrorCode(__HResults.COR_E_ISOSTORE);
36 public IsolatedStorageException(String message)
39 SetErrorCode(__HResults.COR_E_ISOSTORE);
42 public IsolatedStorageException(String message, Exception inner)
43 : base(message, inner)
45 SetErrorCode(__HResults.COR_E_ISOSTORE);
48 protected IsolatedStorageException(SerializationInfo info, StreamingContext context) : base (info, context) {