${iServer2_SetLayerStatusEventArgs_Title}

${iServer2_SetLayerStatusEventArgs_Description}

상속: SuperMap.Web.Service.ServiceEventArgs
 private void service_ProcessCompleted(object sender, SetLayerStatusEventArgs e)
 {
     layer.LayersKey = e.Result.LayersKey;
     if (!isAdded)
     {
         this.MyMap.Layers.Add(layer);
         isAdded = true;
     }
 }
        private void request_Completed(object sender, RequestEventArgs e)
        {
            JsonPrimitive jsonPrimitive = (JsonPrimitive)JsonObject.Parse(e.Result);
            SetLayerStatusResult result = SetLayerStatusResult.FromJson(jsonPrimitive);

            LastResult = result;
            SetLayerStatusEventArgs args = new SetLayerStatusEventArgs(result, e.Result, e.UserState);
            OnProcessCompleted(args);
        }
 private void OnProcessCompleted(SetLayerStatusEventArgs args)
 {
     if (ProcessCompleted != null)
     {
         Application.Current.RootVisual.Dispatcher.BeginInvoke(ProcessCompleted, new object[] { this, args });
     }
 }