SecurityPermissionAttribute.Assertion プロパティ

定義

このコードのすべての呼び出し元が操作に必要なアクセス許可を持っていることをアサートするアクセス許可が宣言されているかどうかを示す値を取得または設定します。

public:
 property bool Assertion { bool get(); void set(bool value); };
public bool Assertion { get; set; }
member this.Assertion : bool with get, set
Public Property Assertion As Boolean

プロパティ値

true アサートのアクセス許可が宣言されている場合。それ以外の場合は false

適用対象