共用方式為


ForgottenKnowledge 類別

表示因為標記清除所以已經被遺忘的知識。

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

語法

'宣告
<SerializableAttribute> _
<XmlRootAttribute(Namespace:="https://schemas.microsoft.com/2009/04/sync/", ElementName:="forgottenKnowledge")> _
Public Class ForgottenKnowledge
    Inherits SyncKnowledge
    Implements ISerializable
'用途
Dim instance As ForgottenKnowledge
[SerializableAttribute] 
[XmlRootAttribute(Namespace="https://schemas.microsoft.com/2009/04/sync/", ElementName="forgottenKnowledge")] 
public class ForgottenKnowledge : SyncKnowledge, ISerializable
[SerializableAttribute] 
[XmlRootAttribute(Namespace=L"https://schemas.microsoft.com/2009/04/sync/", ElementName=L"forgottenKnowledge")] 
public ref class ForgottenKnowledge : public SyncKnowledge, ISerializable
/** @attribute SerializableAttribute() */ 
/** @attribute XmlRootAttribute(Namespace="https://schemas.microsoft.com/2009/04/sync/", ElementName="forgottenKnowledge") */ 
public class ForgottenKnowledge extends SyncKnowledge implements ISerializable
SerializableAttribute 
XmlRootAttribute(Namespace="https://schemas.microsoft.com/2009/04/sync/", ElementName="forgottenKnowledge") 
public class ForgottenKnowledge extends SyncKnowledge implements ISerializable

備註

被遺忘的知識會追蹤已被清除之標記的最大版本。從項目存放區中刪除項目時,該項目的中繼資料會保留,但是此項目會標記為刪除。已刪除之項目的中繼資料稱為標記。標記必須定期清除,否則最後會在項目存放區內使用太多的空間。從中繼資料內移除標記時,被遺忘的知識必須更新,使其包含已移除之標記的版本。請注意,被遺忘的知識是一種監督估計值,以偵測哪些項目已將中繼資料移除,因此,被遺忘的知識也可能會包含中繼資料內仍為使用中的項目。

Sync Framework 會使用被遺忘的知識來偵測過時的同步處理目的地。如需詳細資訊,請參閱管理標記復原過時複寫

繼承階層

System.Object
   Microsoft.Synchronization.SyncKnowledge
    Microsoft.Synchronization.ForgottenKnowledge

執行緒安全性

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

請參閱

參考

ForgottenKnowledge 成員
Microsoft.Synchronization 命名空間