Serialization and Events

Serialization and Events

Old forum URL: forums.lhotka.net/forums/t/3068.aspx


Sergey68 posted on Thursday, June 21, 2007

I have a general question.

If I have a CSLA object on a Widnows form and I want to listen to PropertyChangedEvent, such as

Private WithEvents _csla as BusinessBase.

Private Sub _csla_PropertyChanged(....) Handles _csla.PropertyCHanged.

How is this approach handled during serialization process as part of Save procedure?  Is remoting engine going to try to serialize the form itself?

Thanks.

RockfordLhotka replied on Thursday, June 21, 2007

No, the events declared by CSLA are serialization-safe. See Chapter 3 for details.

Sergey68 replied on Sunday, June 24, 2007

Thank you.

Copyright (c) Marimer LLC