SPLongOperation.Begin method (String, String, SPLongOperation.BeginOperation)
啟動長的作業、 指定委派的方法,並指定在作業的首尾處顯示的 HTML 標記。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Sub Begin ( _
leadingHtml As String, _
trailingHtml As String, _
beginOperation As SPLongOperation.BeginOperation _
)
'用途
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
)
參數
leadingHtml
Type: System.String字串,包含會通知使用者漫長的作業正在進行中的 HTML 標記。如需詳細資訊,請參閱LeadingHTML屬性。
trailingHtml
Type: System.String字串,包含設定正在進行中作業的相關使用者的期望的 HTML 標記。
beginOperation
Type: Microsoft.SharePoint.SPLongOperation.BeginOperation委派方法。