Is the word "notice" used in the same way in the following two sentences?

A notice of sale.

An obituary notice.
the same meaning