Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft