Share via


OwinResponse.Redirect Method (String)

 

Sets a 302 response status code and the Location header.

Namespace:   Microsoft.Owin
Assembly:  Microsoft.Owin (in Microsoft.Owin.dll)

Syntax

public virtual void Redirect(
    string location
)
public:
virtual void Redirect(
    String^ location
)
abstract Redirect : 
        location:string -> unit
override Redirect : 
        location:string -> unit
Public Overridable Sub Redirect (
    location As String
)

Parameters

  • location
    Type: System.String

    The location where to redirect the client.

Implements

IOwinResponse.Redirect(String)

See Also

OwinResponse Class
Microsoft.Owin Namespace

Return to top