Share via


WinHttpHandler.AutomaticRedirection 속성

정의

처리기가 HTTP 리디렉션 응답을 따르는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool AutomaticRedirection { bool get(); void set(bool value); };
public bool AutomaticRedirection { get; set; }
member this.AutomaticRedirection : bool with get, set
Public Property AutomaticRedirection As Boolean

속성 값

true HTTP 리디렉션 응답을 따르려면 그렇지 않으면 입니다 false. 기본값은 true입니다.

설명

이 속성을 로 true설정하면 HTTPS 엔드포인트에서 HTTP 엔드포인트로 리디렉션하는 경우를 제외하고 서버의 모든 HTTP 리디렉션 응답이 자동으로 수행됩니다.

적용 대상