protected override void GetForecast(string location, int days)
 {
     SoapLoggerClient.SetCustomHandlerCallbacks(this);
     base.GetForecast(location, days);
 }
Exemplo n.º 2
0
 public WeatherServiceClientCustomHandler()
 {
     // you need just this line in constructor of inherited client class to apply your custom handler to all requests
     // NOTE: don't reuse this custom handling client class object twice, it should be instantiated for every new request
     SoapLoggerClient.SetCustomHandlerCallbacks(this);
 }
 protected override void GetLastReport(string location)
 {
     SoapLoggerClient.SetCustomHandlerCallbacks(this);
     base.GetLastReport(location);
 }