共用方式為


ISimpleSyncProviderConcurrencyConflictResolver.ResolveLocalUpdateRemoteDeleteConflict 方法

命名空間: Microsoft.Synchronization.SimpleProviders
組件: Microsoft.Synchronization.SimpleProviders (在 microsoft.synchronization.simpleproviders.dll)

語法

'宣告
Sub ResolveLocalUpdateRemoteDeleteConflict ( _
    keyAndExpectedVersion As ItemFieldDictionary, _
    recoverableErrorReportingContext As RecoverableErrorReportingContext, _
    <OutAttribute> ByRef itemWasDeletedAsResultOfResolution As Boolean _
)
'用途
Dim instance As ISimpleSyncProviderConcurrencyConflictResolver
Dim keyAndExpectedVersion As ItemFieldDictionary
Dim recoverableErrorReportingContext As RecoverableErrorReportingContext
Dim itemWasDeletedAsResultOfResolution As Boolean

instance.ResolveLocalUpdateRemoteDeleteConflict(keyAndExpectedVersion, recoverableErrorReportingContext, itemWasDeletedAsResultOfResolution)
void ResolveLocalUpdateRemoteDeleteConflict (
    ItemFieldDictionary keyAndExpectedVersion,
    RecoverableErrorReportingContext recoverableErrorReportingContext,
    out bool itemWasDeletedAsResultOfResolution
)
void ResolveLocalUpdateRemoteDeleteConflict (
    ItemFieldDictionary^ keyAndExpectedVersion, 
    RecoverableErrorReportingContext^ recoverableErrorReportingContext, 
    [OutAttribute] bool% itemWasDeletedAsResultOfResolution
)
void ResolveLocalUpdateRemoteDeleteConflict (
    ItemFieldDictionary keyAndExpectedVersion, 
    RecoverableErrorReportingContext recoverableErrorReportingContext, 
    /** @attribute OutAttribute() */ /** @ref */ boolean itemWasDeletedAsResultOfResolution
)
JScript does not support passing value-type arguments by reference.

參數

  • keyAndExpectedVersion
    發生衝突之項目的索引鍵和版本屬性。
  • itemWasDeletedAsResultOfResolution
    傳回刪除項目是否為自訂解決處理序的結果。

請參閱

參考

ISimpleSyncProviderConcurrencyConflictResolver 介面
ISimpleSyncProviderConcurrencyConflictResolver 成員
Microsoft.Synchronization.SimpleProviders 命名空間