SPCustomRedirect members

Class that manages custom redirect handler registration, and returning the redirect URL based on registered handlers This allows a fallback mechanism for cases in which redirection using the "Source" parameter is not adequate. An example would be enabling redirection between two web applications with different host names, in which "Source" validation would fail

The SPCustomRedirect type exposes the following members.

Methods

  Name Description
Public methodStatic member RegisterRedirectHandler Register a custom redirect handler to handle a specific key. When a URL of the form CustomRedirect=Key is passed, the redirect utilities will first check for a Source parameter, and then if that fails, see if there is an ISPCustomRedirectHandler registered for that CustomRedirect key. If there is, GetRedirectUrl(Key) will be called for that handler.

Top

See also

Reference

SPCustomRedirect class

Microsoft.SharePoint.Utilities namespace