次の方法で共有


SPStatefulLongOperation.Begin method (String, String, SPStatefulLongOperation.BeginStatefulOperation)

Begins a long operation that has state based on the given operation to begin.

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

Syntax

'Declaration
Public Shared Sub Begin ( _
    leadingHtml As String, _
    trailingHtml As String, _
    beginOperation As SPStatefulLongOperation.BeginStatefulOperation _
)
'Usage
Dim leadingHtml As String
Dim trailingHtml As String
Dim beginOperation As SPStatefulLongOperation.BeginStatefulOperationSPStatefulLongOperation.Begin(leadingHtml, trailingHtml, _
    beginOperation)
public static void Begin(
    string leadingHtml,
    string trailingHtml,
    SPStatefulLongOperation.BeginStatefulOperation beginOperation
)

Parameters

  • leadingHtml
    Type: System.String

    A [System.String] of HTML code used by the server to indicate to the user that a lengthy server operation is in progress (such as a file transfer). This page typically contains an animated image (such as a rotating gear assembly) and associated text.

  • trailingHtml
    Type: System.String

    A [System.String] of HTML code used by the server to indicate the completion of a lengthy server operation (such as a file transfer).

See also

Reference

SPStatefulLongOperation class

SPStatefulLongOperation members

Begin overload

Microsoft.SharePoint namespace