// URL: http://msdn.microsoft.com/net/ecma/AllTypes.xml
//
// (C) 2001 Ximian, Inc. http://www.ximian.com
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
+using System.Runtime.InteropServices;
+
namespace System.Security.Permissions {
-#if NET_2_0 || BOOTSTRAP_NET_2_0
- [Serializable]
+#if NET_2_1 && !MONOTOUCH
+ [Obsolete ("CAS support is not available with Silverlight applications.")]
#endif
+ [ComVisible (true)]
+ [Serializable]
public enum SecurityAction {
Demand = 2,
Assert = 3,
+#if NET_4_0
+ [Obsolete ("This requests should not be used")]
+#endif
Deny = 4,
PermitOnly = 5,
LinkDemand = 6,
InheritanceDemand = 7,
+#if NET_4_0
+ [Obsolete ("This requests should not be used")]
+#endif
RequestMinimum = 8,
+#if NET_4_0
+ [Obsolete ("This requests should not be used")]
+#endif
RequestOptional = 9,
- RequestRefuse = 10,
-#if NET_2_0 || BOOTSTRAP_NET_2_0
- LinkDemandChoice = 16,
- InheritanceDemandChoice = 17,
- DemandChoice = 18
+#if NET_4_0
+ [Obsolete ("This requests should not be used")]
#endif
+ RequestRefuse = 10,
}
}