共用方式為


SimpleSyncItemConstraintEventArgs 類別

提供 ItemConstraint 事件的資料。

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

語法

'宣告
Public Class SimpleSyncItemConstraintEventArgs
    Inherits EventArgs
'用途
Dim instance As SimpleSyncItemConstraintEventArgs
public class SimpleSyncItemConstraintEventArgs : EventArgs
public ref class SimpleSyncItemConstraintEventArgs : public EventArgs
public class SimpleSyncItemConstraintEventArgs extends EventArgs
public class SimpleSyncItemConstraintEventArgs extends EventArgs

備註

這個型別是用於條件約束衝突,而這些衝突是因為某個項目與目的地存放區中的其他項目發生衝突而無法儲存該項目時發生,例如當來源提供者所傳送的檔案與已經存在目的地複寫中的檔案具有相同名稱和位置時。如需詳細資訊,請參閱處理簡單提供者的衝突

繼承階層

System.Object
   System.EventArgs
    Microsoft.Synchronization.SimpleProviders.SimpleSyncItemConstraintEventArgs

執行緒安全性

任何公用靜態 (共用 在 Visual Basic) 此型別的成員具備執行緒安全。不保證任何執行個體成員安全執行緒。

請參閱

參考

SimpleSyncItemConstraintEventArgs 成員
Microsoft.Synchronization.SimpleProviders 命名空間