actually in my above code i commented
throw ex;
. so i uncomment it and wrote below code to raise error.
System.Windows.Forms.MessageBox.Show(ex.Message.ToString());
throw ex;
and i found it throws error :
the request failed.unable to connect to remote server.
actually my exchange server is not opening on my live server.my live server firewall blocked my exchange server.
thanks,
kk