SecurityException.RefusedSet 屬性

定義

取得或設定造成 SecurityException 之組件的遭拒絕權限集合。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

屬性值

String

該組件遭拒絕之權限集的 XML 表示法。The XML representation of the refused permission set of the assembly.

備註

除了涉及檢查的例外狀況以外,這個屬性可能不會包含安全性例外狀況中的相關資料 AllowPartiallyTrustedCallersAttributeThis property might not contain relevant data in security exceptions other than exceptions involving checks for the AllowPartiallyTrustedCallersAttribute.

適用於