private void ValidateV2Property()
{
// Make sure that calling CheckDisposed and SetupV2Config is an atomic operation. This
// avoids race conditions if the listener is aborted/closed after CheckDisposed(), but
// before SetupV2Config().
lock (_internalLock)
{
CheckDisposed();
SetupV2Config();
}
}