CommonServicesProvider.DownloadFile Method
This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.ServicesProvider.Common
Assembly: Microsoft.OneGet.ServicesProvider.Common (in Microsoft.OneGet.ServicesProvider.Common.dll)
Usage
'Usage
Dim instance As CommonServicesProvider
Dim remoteLocation As Uri
Dim localFilename As String
Dim requestImpl As Object
instance.DownloadFile(remoteLocation, localFilename, requestImpl)
Syntax
'Declaration
Public Sub DownloadFile ( _
remoteLocation As Uri, _
localFilename As String, _
requestImpl As Object _
)
public void DownloadFile (
Uri remoteLocation,
string localFilename,
Object requestImpl
)
public:
void DownloadFile (
Uri^ remoteLocation,
String^ localFilename,
Object^ requestImpl
)
public void DownloadFile (
Uri remoteLocation,
String localFilename,
Object requestImpl
)
public function DownloadFile (
remoteLocation : Uri,
localFilename : String,
requestImpl : Object
)
Parameters
- remoteLocation
- localFilename
- 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
CommonServicesProvider Class
CommonServicesProvider Members
Microsoft.OneGet.ServicesProvider.Common Namespace