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

Enable and disable sending chunked data to the server.

[Visual Basic]
Public Property SendChunked As Boolean
[C#]
public bool SendChunked {get; set;}
[C++]
public: __property bool get_SendChunked();
public: __property void set_SendChunked(bool);
[JScript]
public function get SendChunked() : Boolean;
public function set SendChunked(Boolean);

Exceptions

Exception Type Condition
InvalidOperationException Data has already been written to the request stream.

Remarks

When SendChunked is true, data is sent to the server in segments. The server must support receiving chunked data, and ContentLength must be set to-1.

See Also

HttpWebRequest Class | HttpWebRequest Members | System.Net Namespace