PersistenceParticipant 建構函式

定義

初始化 PersistenceParticipant 類別的執行個體。

protected:
 PersistenceParticipant();
protected PersistenceParticipant ();
Protected Sub New ()

範例

下列程式碼範例將示範如何建立衍生自 PersistenceParticipant 的類別。 此範例來自 雇用程式 範例。

public class HiringRequestInfoPersistenceParticipant: PersistenceIOParticipant
{
    public HiringRequestInfoPersistenceParticipant()
        : base(true, false)
    {
    }

適用於