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

Gets or sets the value of the Expect header.

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

Exceptions

Exception Type Condition
ArgumentException Expect is set to "100-continue".

Remarks

By default, Expect contains "100-continue". You can add other values to the list Expect maintains, or you can delete all values except "100-continue" from the list by setting Expect to null.

See Also

HttpWebRequest Class | HttpWebRequest Members | System.Net Namespace