ExtensionMethodsRedirect Method
Namespace: Centralpoint.WebAssembly: Centralpoint.Web (in Centralpoint.Web.dll) Version: 1.0.0.0 (1.0.0.0)
public static void Redirect(
this HttpResponse value,
string url,
bool endResponse = true,
bool isPermanent = false,
bool noCache = true
)
<ExtensionAttribute>
Public Shared Sub Redirect (
value As HttpResponse,
url As String,
Optional endResponse As Boolean = true,
Optional isPermanent As Boolean = false,
Optional noCache As Boolean = true
)
- value HttpResponse
-
- url String
-
- endResponse Boolean (Optional)
-
- isPermanent Boolean (Optional)
-
- noCache Boolean (Optional)
-
In Visual Basic and C#, you can call this method as an instance method on any object of type
HttpResponse. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).