ECT is usually used for patients with SEVERE major depression when the patient has not responded to the other treatments available. Anxiety can be a major symptom of depression and was for me. I had ECT treatments 25+ years ago and they did not help me.
A good psychiatrist can advise you what a good treatment plan is for you.
There are many methods that are tried if it is even considered. Have you gone through counseling? Have you been having problems with anxiety for a long time? There are so many approaches that you could take in dealing with it in my opinion.
There is a new and safer way for electroconvulsive therapy (ECT) and it is called transcranial magnetic stimulation (TMS)
''Transcranial magnetic stimulation is a noninvasive method to cause depolarization in the neurons of the brain. TMS uses electromagnetic induction to induce weak electric currents using a rapidly changing magnetic field; this can cause activity in specific or general parts of the brain with minimal discomfort, allowing the functioning and interconnections of the brain to be studied. A variant of TMS, repetitive transcranial magnetic stimulation (rTMS) has been tested as a treatment tool for various neurological and psychiatric disorders including migraines, strokes, Parkinson's disease, dystonia, tinnitus, depression and auditory hallucinations.'' and yes anxiety.
http://en.wikipedia.org/wiki/Transcranial_magnetic_stimulation#Risks
M4