SecurityPermissionAttribute::Assertion Property

 

Gets or sets a value indicating whether permission to assert that all this code's callers have the requisite permission for the operation is declared.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

public:
property bool Assertion {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if permission to assert is declared; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: