ISiteCopyPage Method |
Namespace: Ingeniux.CMS
Exception | Condition |
---|---|
ArgumentNullException | When the parameter "srcPage" or "tgtParentPage" is null, or "tgtParentPage" being Root of the Site, and the "placing" is to a sibling position. |
ArgumentException | When "srcPage" or "tgtParentPage" doesn't have valid Hierarchy value. |
InvalidOperationException | When "srcPagg" is either Root Page or Recycle Folder. |
SecurityException | When Operating User doesn't have the necessary node-level permssions. The Operating User must have at least read-only permission on "srcPage", and full access on the actual target parent Page. |
Two events are fired during execution of this method: BeforePageCopy and AfterPageCopy.