共用方式為


BeginChangeApplication 方法

開始處理一組變更。

命名空間:  Microsoft.Synchronization
組件:  Microsoft.Synchronization (在 Microsoft.Synchronization.dll 中)

語法

'宣告
Public Sub BeginChangeApplication ( _
    destinationKnowledge As SyncKnowledge, _
    destinationForgottenKnowledge As ForgottenKnowledge, _
    filterInfo As FilterInfo, _
    syncCallbacks As SyncCallbacks, _
    sourceDataRetriever As IChangeDataRetriever, _
    destinationDataRetriever As IChangeDataRetriever _
)
'用途
Dim instance As ChangeApplicationServices
Dim destinationKnowledge As SyncKnowledge
Dim destinationForgottenKnowledge As ForgottenKnowledge
Dim filterInfo As FilterInfo
Dim syncCallbacks As SyncCallbacks
Dim sourceDataRetriever As IChangeDataRetriever
Dim destinationDataRetriever As IChangeDataRetriever

instance.BeginChangeApplication(destinationKnowledge, _
    destinationForgottenKnowledge, _
    filterInfo, syncCallbacks, sourceDataRetriever, _
    destinationDataRetriever)
public void BeginChangeApplication(
    SyncKnowledge destinationKnowledge,
    ForgottenKnowledge destinationForgottenKnowledge,
    FilterInfo filterInfo,
    SyncCallbacks syncCallbacks,
    IChangeDataRetriever sourceDataRetriever,
    IChangeDataRetriever destinationDataRetriever
)
public:
void BeginChangeApplication(
    SyncKnowledge^ destinationKnowledge, 
    ForgottenKnowledge^ destinationForgottenKnowledge, 
    FilterInfo^ filterInfo, 
    SyncCallbacks^ syncCallbacks, 
    IChangeDataRetriever^ sourceDataRetriever, 
    IChangeDataRetriever^ destinationDataRetriever
)
member BeginChangeApplication : 
        destinationKnowledge:SyncKnowledge * 
        destinationForgottenKnowledge:ForgottenKnowledge * 
        filterInfo:FilterInfo * 
        syncCallbacks:SyncCallbacks * 
        sourceDataRetriever:IChangeDataRetriever * 
        destinationDataRetriever:IChangeDataRetriever -> unit 
public function BeginChangeApplication(
    destinationKnowledge : SyncKnowledge, 
    destinationForgottenKnowledge : ForgottenKnowledge, 
    filterInfo : FilterInfo, 
    syncCallbacks : SyncCallbacks, 
    sourceDataRetriever : IChangeDataRetriever, 
    destinationDataRetriever : IChangeDataRetriever
)

參數

例外

例外狀況 條件
ArgumentNullException

destinationKnowledge、sourceDataRetriever 或 destinationDataRetriever 是 null Nothing nullptr unit null 參考 (在 Visual Basic 中為 Nothing) 。

SyncIdFormatMismatchException

任何指定之知識物件的識別碼格式結構描述與初始化這個物件時所指定的識別碼格式結構描述不符。

SyncInvalidOperationException

變更套用已啟動,但並未針對另一組變更結束。

備註

此方法通常會為目的地提供者之 ProcessChangeBatch 方法所接收的每個變更批次呼叫一次。

在可以設定或計算知識,或者套用或報告變更之前,必須呼叫這個方法。

請參閱

參考

ChangeApplicationServices類別

ChangeApplicationServices 成員

Microsoft.Synchronization 命名空間