单项选择题

He was about to tell me the secret ______ someone patted him on the shoulder.

A.as
B.until
C.while
D.when