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

Gets and sets the value of the Connection header.

[Visual Basic]
Public Property Connection As String
[C#]
public string Connection {get; set;}
[C++]
public: __property String* get_Connection();
public: __property void set_Connection(String*);
[JScript]
public function get Connection() : String;
public function set Connection(String);

Exceptions

Exception Type Condition
ArgumentException The value of Connection is set to "keep-alive" or "close".

See Also

HttpWebRequest Class | HttpWebRequest Members | System.Net Namespace