Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This function is hosted under joey.castillo@cbsnorthstar.com account


Here is the code:

unmigrated-wiki-markup
using System;
using System.Net;

public

static

void

Run(TimerInfo

myTimer,

TraceWriter

log)

{


{
    log.Info($"Running

function

at:

{DateTime.Now}");

var services = new

    var services = new string[]{


};

foreach

(var

serviceAddress

in

services)

{ try {


    {
        try
            {
                log.Info($"Running

{serviceAddress}

at:

{DateTime.Now}");

HttpWebRequest service =

                HttpWebRequest service = (HttpWebRequest)WebRequest.Create(serviceAddress);

WebResponse response =

 
               WebResponse response = service.GetResponse();

} catch (Exception ex) { log


             }
       catch (Exception ex)
            {
               log.Info($"Error

{serviceAddress}

at:

{DateTime.Now}");

} } }


            }
      }

}


Image Added