Request.CopyFile Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.MetaProvider.PowerShell
Assembly: Microsoft.OneGet.MetaProvider.PowerShell (in Microsoft.OneGet.MetaProvider.PowerShell.dll)


Dim instance As Request
Dim sourcePath As String
Dim destinationPath As String
Dim requestImpl As MarshalByRefObject

instance.CopyFile(sourcePath, destinationPath, requestImpl)


Public MustOverride Sub CopyFile ( _
    sourcePath As String, _
    destinationPath As String, _
    requestImpl As MarshalByRefObject _
public abstract void CopyFile (
    string sourcePath,
    string destinationPath,
    MarshalByRefObject requestImpl
virtual void CopyFile (
    String^ sourcePath, 
    String^ destinationPath, 
    MarshalByRefObject^ requestImpl
) abstract
public abstract void CopyFile (
    String sourcePath, 
    String destinationPath, 
    MarshalByRefObject requestImpl
public abstract function CopyFile (
    sourcePath : String, 
    destinationPath : String, 
    requestImpl : MarshalByRefObject


  • sourcePath
  • destinationPath
  • requestImpl

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

See Also


Request Class
Request Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace