次の方法で共有


SPLongOperation.Begin method (String, String, SPLongOperation.BeginOperation)

Starts a long operation, specifies a delegate method, and specifies HTML markup for display at the beginning and end of the operation.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Shared Sub Begin ( _
    leadingHtml As String, _
    trailingHtml As String, _
    beginOperation As SPLongOperation.BeginOperation _
)
'Usage
Dim leadingHtml As String
Dim trailingHtml As String
Dim beginOperation As SPLongOperation.BeginOperationSPLongOperation.Begin(leadingHtml, trailingHtml, _
    beginOperation)
public static void Begin(
    string leadingHtml,
    string trailingHtml,
    SPLongOperation.BeginOperation beginOperation
)

Parameters

  • leadingHtml
    Type: System.String

    A string that contains HTML markup that informs the user that a lengthy operation is in progress. For more information, see the LeadingHTML property.

  • trailingHtml
    Type: System.String

    A string that contains HTML markup that sets the user’s expectations about the operation that is underway.

See also

Reference

SPLongOperation class

SPLongOperation members

Begin overload

Microsoft.SharePoint namespace

LeadingHTML

TrailingHTML