Hi
WCF service method call 'Completed' event is not available in CSHTML5
how do I use it?
Code: Select all
UsersService.UsersClient objUserService =
new MyApp.UsersService.UsersClient("CustomBinding_Users");
objUserService.GetUserAuthenticationCompleted +=
new EventHandler<MyApp.UsersService.GetUserAuthenticationCompletedEventArgs>(objIntuitiveEMRService_GetUserAuthenticationCompleted);
objUserService.GetUserAuthenticationAsync(txtUserName.Text, txtPassword.Password, ((App)Application.Current).ClientID);
Code: Select all
ServiceReference1.Service1Client _soapClient =
new ServiceReference1.Service1Client(
new System.ServiceModel.BasicHttpBinding(),
new System.ServiceModel.EndpointAddress(
new Uri("http://localhost:4598/Service1.svc")));
Users browsing this forum: No registered users and 11 guests