HttpResponseWrapper.Redirect 메서드

정의

요청을 다른 URL로 리디렉션합니다.

오버로드

Name Description
Redirect(String)

요청을 지정된 URL로 리디렉션합니다.

Redirect(String, Boolean)

요청을 지정된 URL로 리디렉션하고 현재 프로세스의 실행을 종료할지 여부를 지정합니다.

Redirect(String)

요청을 지정된 URL로 리디렉션합니다.

public:
 override void Redirect(System::String ^ url);
public override void Redirect(string url);
override this.Redirect : string -> unit
Public Overrides Sub Redirect (url As String)

매개 변수

url
String

대상 위치입니다.

예외

HTTP 헤더를 보낸 후 리디렉션이 시도되었습니다.

적용 대상

Redirect(String, Boolean)

요청을 지정된 URL로 리디렉션하고 현재 프로세스의 실행을 종료할지 여부를 지정합니다.

public:
 override void Redirect(System::String ^ url, bool endResponse);
public override void Redirect(string url, bool endResponse);
override this.Redirect : string * bool -> unit
Public Overrides Sub Redirect (url As String, endResponse As Boolean)

매개 변수

url
String

대상 위치입니다.

endResponse
Boolean

true 을 클릭하여 현재 프로세스를 종료합니다.

예외

urlnull입니다.

url 에는 줄줄 문자가 포함됩니다.

HTTP 헤더를 보낸 후 리디렉션이 시도되었습니다.

요청은 콜백의 결과입니다.

적용 대상