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이 설정되면 속성 값이 손실됩니다.

적용 대상

추가 정보