SecurityException.RefusedSet Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the refused permission set of the assembly that caused the SecurityException.
public:
property System::String ^ RefusedSet { System::String ^ get(); void set(System::String ^ value); };
public:
property System::String ^ RefusedSet { System::String ^ get(); };
public string? RefusedSet { get; set; }
public string RefusedSet { get; set; }
public string RefusedSet { get; }
member this.RefusedSet : string with get, set
member this.RefusedSet : string
Public Property RefusedSet As String
Public ReadOnly Property RefusedSet As String
The XML representation of the refused permission set of the assembly.
This property might not contain relevant data in security exceptions other than exceptions involving checks for the AllowPartiallyTrustedCallersAttribute.
Product | Versies |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
Feedback over .NET
.NET is een opensourceproject. Selecteer een koppeling om feedback te geven: