[OnDeserialized()] and StreamingContext

A

antoan

For a method decorated as the one below, what passes the
StreamingContext argument? The serialization infrastructure?

[OnDeserialized()]
private void OnDeserializedHandler(StreamingContext context) {

}
 
N

Nicholas Paldino [.NET/C# MVP]

antoan,

Yes, the binary formatter will call this method when an object is done
serializing. It is not available on the Soap formatter.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top