System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / MessageQueuePermission Class / Copy Method



In This Topic
    Copy Method
    In This Topic
    When implemented by a derived class, creates and returns an identical copy of the current permission object.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Function Copy() As IPermission
    'Usage
     
    
    Dim instance As MessageQueuePermission
    Dim value As IPermission
     
    value = instance.Copy()
    public override IPermission Copy()
    public:
    IPermission^ Copy(); override 

    Return Value

    A copy of the current permission object.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also

    Reference

    MessageQueuePermission Class
    MessageQueuePermission Members
    Base Implementation in Copy