SPLongOperation.End method (String, SPRedirectFlags, HttpContext, 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 _
)
'用途
Dim instance As SPLongOperation
Dim strProposedRedirect As String
Dim rgfRedirect As SPRedirectFlags
Dim context As HttpContext
Dim queryString As String
instance.End(strProposedRedirect, rgfRedirect, _
context, queryString)
public void End(
string strProposedRedirect,
SPRedirectFlags rgfRedirect,
HttpContext context,
string queryString
)
參數
strProposedRedirect
Type: System.String字串,指定目的地 URL,用於在重新導向。
rgfRedirect
Type: Microsoft.SharePoint.Utilities.SPRedirectFlags正確的旗標SPRedirectFlags列舉型別,表示應該如何進行重新導向的組合。
context
Type: System.Web.HttpContextHttpContext物件,提供有關目前 HTTP 要求的 HTTP 資訊。
queryString
Type: System.String要附加至所選的 URL 編碼的查詢字串。