public void EndConnect(IAsyncResult result) { throw new NotSupportedException(); // Will never be called because BeginConnect will never be called }