SPLongOperation.End method (String, SPRedirectFlags, HttpContext, String, String)
Informs the server that a lengthy server operation (such as a file transfer) has ended, and that the page used to indicate progress should no longer be displayed.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub End ( _
strProposedRedirect As String, _
rgfRedirect As SPRedirectFlags, _
context As HttpContext, _
queryString As String, _
strScript As String _
)
'Usage
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
)
Parameters
strProposedRedirect
Type: System.StringA string that specifies the destination URL to be used in the redirection.
rgfRedirect
Type: Microsoft.SharePoint.Utilities.SPRedirectFlagsA valid combination of flags from the SPRedirectFlags enumeration that indicate how the redirection should be made.
context
Type: System.Web.HttpContextAn HttpContext object that provides HTTP information about the current HTTP request.
queryString
Type: System.StringAn encoded query string to be appended to the selected URL.
strScript
Type: System.StringA string that contains the script to write to the HTTP output stream.