SPCustomRedirect class
管理自訂的類別重新導向的處理常式註冊,並傳回重新導向 URL 根據註冊的處理常式這允許在哪一個重新導向中使用 「 來源 」 參數並不是適當的情況下的後援機制。範例會啟用具有不同的主機名稱,驗證會失敗的 「 來源 」 中的兩個 web 應用程式之間的重新導向
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Utilities.SPCustomRedirect
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public NotInheritable Class SPCustomRedirect
'用途
You do not need to declare an instance of a static class in order to access its members.
public static class SPCustomRedirect
Thread safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.