${iServer2_Theme_RemoveThemesService_Title}

${iServer2_Theme_RemoveThemesService_Description}

Inheritance: SuperMap.Web.Service.ServiceBase
 private void remove_Click(object sender, RoutedEventArgs e)
 {
     RemoveThemesParameters parameters = new RemoveThemesParameters
     {
         MapName = "World",
         LayerNames = listLayerName
     };
     RemoveThemesService removeThemeLayerService = new RemoveThemesService("http://localhost:7080/demo");
     removeThemeLayerService.ProcessAsync(parameters);
     removeThemeLayerService.Failed += new EventHandler<ServiceFailedEventArgs>(removeThemeLayerService_Failed);
     removeThemeLayerService.ProcessCompleted += new EventHandler<RemoveThemesEventArgs>(removeThemeLayerService_ProcessCompleted);
 }
        //清除专题图现有状态
        private void remove_Click(object sender, RoutedEventArgs e)
        {
            RemoveThemesParameters parameters = new RemoveThemesParameters()
               {
               MapName = "World",
               LayerNames = listLayerName
               };

            RemoveThemesService removeService = new RemoveThemesService(url) { DisableClientCaching = true };
            removeService.ProcessAsync(parameters);
            removeService.ProcessCompleted += new EventHandler<RemoveThemesEventArgs>(removeService_ProcessCompleted);
            removeService.Failed += new EventHandler<ServiceFailedEventArgs>(removeService_Failed);
        }