This documentation is archived and is not being maintained.

SecurityException.RefusedSet Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets the refused permission set of the assembly, which caused the SecurityException.

[Visual Basic]
Public ReadOnly Property RefusedSet As String
[C#]
public string RefusedSet {get;}
[C++]
public: __property String* get_RefusedSet();
[JScript]
public function get RefusedSet() : String;

Property Value

The XML representation of the refused set of the assembly.

Exceptions

Exception Type Condition
SecurityException The code that calls this method does not have SecurityPermissionFlag.ControlEvidence.

-or-

The code that calls this method does not have SecurityPermissionFlag.ControlPolicy.

Remarks

This property might not contain relevant data in security exceptions other than exceptions involving checks for the AllowPartiallyTrustedCallersAttribute.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

.NET Framework Security: 

See Also

SecurityException Class | SecurityException Members | System.Security Namespace

Show: