HttpWebRequest.Expect 속성

정의

HTTP Expect 헤더의 값을 가져오거나 설정합니다.

public:
 property System::String ^ Expect { System::String ^ get(); void set(System::String ^ value); };
public string? Expect { get; set; }
public string Expect { get; set; }
member this.Expect : string with get, set
Public Property Expect As String

속성 값

HTTP Expect 헤더의 콘텐츠입니다. 기본값은 null입니다.

예외

Expect가 하위 문자열로 "100-continue"를 포함하는 문자열로 설정된 경우

설명

이 속성의 값은 WebHeaderCollection에 저장됩니다. WebHeaderCollection이 설정되면 속성 값이 손실됩니다.

적용 대상

추가 정보