'Declaration
Public Overridable Function CanPerform( _ ByVal action As SecurityPermission _ ) As Boolean
public virtual bool CanPerform( SecurityPermission action )
public: virtual bool CanPerform( SecurityPermission action )
Parameters
- action
- The operation to check permission for.
Return Value
true if the caller has the requested permission or if the object is not secured