SecurityAction
12.10.2009 Понедельник 19:05
Context: .Net Framework 2.0
Meaning of the members of the System.Security.Permissions.Security.Action enumeration:
RequestMinimum
Means "I need this permission". Application does not start if the assembly does not have the specified permission.
RequestOptional
Means"I don't need any permissions other than this one". Application starts and runs, but whenever a permission other than the specified one is requsted, an exception is thrown.
RequestRefuse
Means "I don't need this permission". Application starts and runs, but whenever the specified permission is requested, an exception is thrown.