共用方式為


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

開始長的作業有根據指定的作業開始的狀態。

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

Syntax

'宣告
Public Shared Sub Begin ( _
    leadingHtml As String, _
    trailingHtml As String, _
    beginOperation As SPStatefulLongOperation.BeginStatefulOperation _
)
'用途
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
)

參數

  • leadingHtml
    Type: System.String

    由伺服器用來向使用者表示冗長的伺服器作業正在進行中 (例如檔案傳輸) 的 HTML 程式碼**[System.String]** 。這個頁面通常會包含動畫的影像 (例如旋轉的裝備組件) 和相關聯的文字。

  • trailingHtml
    Type: System.String

    由伺服器用來表示 (例如檔案傳輸) 在冗長的伺服器作業完成的 HTML 程式碼**[System.String]** 。

請參閱

參照

SPStatefulLongOperation class

SPStatefulLongOperation members

Begin overload

Microsoft.SharePoint namespace