Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IResult.GetRedirectUri Method

Returns an url representation of the result logic within the given context.

[Visual Basic]
Public Sub GetRedirectUri( _
   ByVal context As Object _
)
[C#]
string GetRedirectUri(
   object context
);

Parameters

context
the context to evaluate this request in.

Return Value

the url corresponding to the result instance.

Remarks

The returned url is not necessarily fully qualified nor absolute. Returned urls may be relative to the given context.
To produce a client-usable url, consider applying e.g. ResolveUrl or ResolveClientUrl before writing the result url to the response.

See Also

IResult Interface | Spring.Web.Support Namespace