Only A. B is possible with a sentence adverb interpretation. Highly implausible and constrained, though.
Being invited to your home, I considered it (1) a great honor.
I considered it (1) a great honor being invited to your home.
I considered it (2) a great honor to be invited to your home.
it (1) ≠ it (2)
it (2) = empty pronoun
it (1) = not derivable from the context
Interested in Language