 | BackgroundCopyJobAddFile Method (Uri, String, BackgroundCopyFileRange) |
Adds a file to a download job and specifies the ranges of the file you want to download.
Namespace:
usis.Net.Bits
Assembly:
usis.Net.Bits (in usis.Net.Bits.dll) Version: 3.0.0.0 (3.0.0.0)
Syntaxpublic void AddFile(
Uri remoteUrl,
string localName,
params BackgroundCopyFileRange[] ranges
)
Public Sub AddFile (
remoteUrl As Uri,
localName As String,
ParamArray ranges As BackgroundCopyFileRange()
)
public:
void AddFile(
Uri^ remoteUrl,
String^ localName,
... array<BackgroundCopyFileRange^>^ ranges
)
member AddFile :
remoteUrl : Uri *
localName : string *
ranges : BackgroundCopyFileRange[] -> unit
Parameters
- remoteUrl
- Type: SystemUri
The URL of the file on the server. - localName
- Type: SystemString
The name of the file on the client. - ranges
- Type: usis.Net.BitsBackgroundCopyFileRange
An array of one or more BackgroundCopyFileRange structures that specify the ranges to download.
Do not specify duplicate or overlapping ranges.
See Also