SuperMap.Web.Mapping.SmMapService.wc_DownloadStringCompleted C# (CSharp) Method

wc_DownloadStringCompleted() private method

private wc_DownloadStringCompleted ( object sender, DownloadStringCompletedEventArgs e ) : void
sender object
e System.Net.DownloadStringCompletedEventArgs
return void
        private void wc_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
        {
            Exception ex = null;
            if (!this.CheckForFault(e, out ex))
            {
                JsonObject jsonObject = (JsonObject)JsonObject.Parse(e.Result);

                mapServiceInfo = SmMapServiceInfo.FromJson(jsonObject);

                if ((this.Initialized != null) && (this.mapServiceInfo != null))
                {
                    this.Initialized(this, new MapServiceInitalizeArgs { MapService = this });
                }
            }
        }