Browser.proc.UpdateCallstackState.Page_Load C# (CSharp) Метод

Page_Load() защищенный Метод

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.ContentEncoding = System.Text.Encoding.UTF8;
            Response.ContentType = "text/xml";
            Response.Cache.SetCacheability(HttpCacheability.NoCache);

            int callstack_uid;
            string state;

            if (int.TryParse(Request.QueryString["callstack_uid"], out callstack_uid) == false)
            {
                return;
            }

            state = Request.QueryString["state"];
            if (state == null)
                state = "N";

            using (System.Xml.XmlTextWriter writer = new System.Xml.XmlTextWriter(Response.OutputStream, System.Text.Encoding.UTF8))
            {
                writer.WriteStartDocument();
                writer.WriteStartElement("Outputs");

                DB.UpdateCallstackState(callstack_uid, state);

                writer.WriteEndElement();
                writer.WriteEndDocument();
                writer.Flush();
                writer.Close();
            }
        }
UpdateCallstackState