// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
-namespace System.Web.Security {
- public class MembershipPasswordException : HttpException {
+using System;
+using System.Runtime.Serialization;
+using System.Runtime.CompilerServices;
+
+namespace System.Web.Security
+{
+#if NET_4_0
+ [TypeForwardedFrom ("System.Web, Version=2.0.0.0, Culture=Neutral, PublicKeyToken=b03f5f7f11d50a3a")]
+#endif
+ [Serializable]
+ public class MembershipPasswordException : Exception
+ {
public MembershipPasswordException () : base () {}
public MembershipPasswordException (string message) : base (message) {}
public MembershipPasswordException (string message, Exception innerException) : base (message, innerException) {}
+
+ protected MembershipPasswordException (SerializationInfo info, StreamingContext context): base (info, context)
+ {
+ }
}
}
-#endif
+