共用方式為


SPServiceApplication.BeginProvision method

一開始會藉由指定回呼委派和物件,以接收狀態資訊佈建服務應用程式。

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

Syntax

'宣告
Public Function BeginProvision ( _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'用途
Dim instance As SPServiceApplication
Dim callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginProvision(callback, _
    state)
public IAsyncResult BeginProvision(
    AsyncCallback callback,
    Object state
)

參數

  • state
    Type: System.Object

    物件,其中包含的回呼方法所使用的資訊。

傳回值

Type: System.IAsyncResult
佈建作業的狀態。

請參閱

參照

SPServiceApplication class

SPServiceApplication members

Microsoft.SharePoint.Administration namespace

WaitCallback

其他資源

Using an AsyncCallback Delegate and State Object