UtilWebRedirectUri(Uri, Int32) Method
Redirects an Url that points to other Url.
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Uri RedirectUri(
Uri uri,
int maxCount
)
Public Shared Function RedirectUri (
uri As Uri,
maxCount As Integer
) As Uri
Dim uri As Uri
Dim maxCount As Integer
Dim returnValue As Uri
returnValue = UtilWeb.RedirectUri(uri,
maxCount)
public:
static Uri^ RedirectUri(
Uri^ uri,
int maxCount
)
static member RedirectUri :
uri : Uri *
maxCount : int -> Uri
No code example is currently available or this language may not be supported.
- uri Uri
-
The Uri to redirect.
- maxCount Int32
-
The maximum amount of times to redirect the resulting urls after the first redirection.
Uri
The redirected Url.
Url redirection, also called Url forwarding,
is a World Wide Web technique for making a web page available under more than one Url address.
When a web browser attempts to open a Url that has been redirected, a page with a different Url is opened.
This is a code example.
No code example is currently available or this language may not be supported.
Dim uri As New Uri("http://goo.gl/PsCZN4")
Dim resultUri As Uri = RedirectUri(uri, 0)
Console.WriteLine(resultUri.AbsoluteUri)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.