SecurityPermissionAttribute.Assertion Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 bool Assertion { get; set; }

Property Value

Type: System.Boolean

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

.NET Framework
Available since 1.1
Return to top