ICustomObjectSnapshotSerializer::OnTakeSnapshot

Called when taking a snapshot of an object with the class this implementation is registered to.