private void btnOneWay_Click(object sender, RoutedEventArgs e) { GeoClient proxy = new GeoClient(new InstanceContext(this)); proxy.OneWayExample(); MessageBox.Show("Oneway Example called. Back at client."); proxy.Close(); MessageBox.Show("Proxy is closed"); }
private void btnOneWay_Click(object sender, RoutedEventArgs e) { GeoClient proxy = new GeoClient(new InstanceContext(this), "tcpEp"); proxy.OneWayExample(); MessageBox.Show("Oneway example. Back at client"); proxy.Close(); MessageBox.Show("Proxy close"); }
private void btnOneWay_Click(object sender, RoutedEventArgs e) { GeoClient proxy = new GeoClient("tcpEP"); proxy.OneWayExample(); MessageBox.Show("Oneway example called. Back at client."); proxy.Close(); MessageBox.Show("Proxy is now close."); }