Request.CopyFile Method

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.PackageProvider.Bootstrap
Assembly: Microsoft.OneGet.PackageProvider.Bootstrap (in Microsoft.OneGet.PackageProvider.Bootstrap.dll)

Usage

'Usage
Dim instance As Request
Dim sourcePath As String
Dim destinationPath As String
Dim requestImpl As Object

instance.CopyFile(sourcePath, destinationPath, requestImpl)

Syntax

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

Parameters

  • 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.

Platforms

Target Platforms

See Also

Reference

Request Class
Request Members
Microsoft.OneGet.PackageProvider.Bootstrap Namespace