SPLongOperation.End method (String, SPRedirectFlags, HttpContext, String, String)
通知 (例如檔案傳輸) 在冗長的伺服器作業已經結束的伺服器,而且用來指出進度的頁面應該不會再顯示。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Sub End ( _
strProposedRedirect As String, _
rgfRedirect As SPRedirectFlags, _
context As HttpContext, _
queryString As String, _
strScript As String _
)
'用途
Dim instance As SPLongOperation
Dim strProposedRedirect As String
Dim rgfRedirect As SPRedirectFlags
Dim context As HttpContext
Dim queryString As String
Dim strScript As String
instance.End(strProposedRedirect, rgfRedirect, _
context, queryString, strScript)
public void End(
string strProposedRedirect,
SPRedirectFlags rgfRedirect,
HttpContext context,
string queryString,
string strScript
)
參數
strProposedRedirect
Type: System.String字串,指定目的地 URL,用於在重新導向。
rgfRedirect
Type: Microsoft.SharePoint.Utilities.SPRedirectFlags正確的旗標SPRedirectFlags列舉型別,表示應該如何進行重新導向的組合。
context
Type: System.Web.HttpContextHttpContext物件,提供有關目前 HTTP 要求的 HTTP 資訊。
queryString
Type: System.String要附加至所選的 URL 編碼的查詢字串。
strScript
Type: System.String字串,包含指令碼寫入至 HTTP 輸出資料流。