PnrpPermission::Copy Method ()
.NET Framework (current version)
Creates and returns an identical copy of the current PnrpPermission.
Assembly: System.Net (in System.Net.dll)
Return Value
Type: System.Security::IPermission^An object with an IPermission interface, whose instance contains a copy of the current instance of PnrpPermission.
Implements
IPermission::Copy()| Exception | Condition |
|---|---|
| ArgumentException |
|
| ArgumentNullException | The parameter is a null reference (Nothing in Visual Basic). |
A copy of a permission represents the same access to resources as the original permission.
Instances of this type have two permission states: they either have no access to the resource(s) protected by the permission, or they have unrestricted full access to those resources.
.NET Framework
Available since 3.5
Available since 3.5
Show: