NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

HttpWebRequest.AddRange (Int32, Int32)

Adds a range header to the request for a specified range.

[Visual Basic]
Overloads Public Sub AddRange( _
   ByVal From As Integer, _
   ByVal To As Integer _
)
[C#]
public void AddRange(
   int From,
   int To
);
[C++]
public: void AddRange(
   int From,
   int To
);
[JScript]
public function AddRange(
   From : int,
   To : int
);

Parameters

From
The position to start sending data.
To
[To be supplied.]

Exceptions

Exception Type Condition
ArgumentOutOfRangeException from is greater than to

-or-

from or to is less than 0.

See Also

HttpWebRequest Class | HttpWebRequest Members | System.Net Namespace | HttpWebRequest.AddRange Overload List