1. A method comprising: detecting, with an extravascular implantable medical device (IMD), initiation of a pacing train delivered by a second implantable medical device; determining a type of the detected pacing train; and modifying a tachyarrhythmia detection algorithm based on the type of the detected pacing train.