BlogSharp.Core.Impl.Plugins.Pingback.PingbackHandler.Ping C# (CSharp) Method

Ping() public method

public Ping ( string sourceUri, string targetUri ) : string
sourceUri string
targetUri string
return string
        public string Ping(string sourceUri, string targetUri)
        {
            try
            {
                this.pingbackService.ProcessPingback(sourceUri, targetUri);
                return "Thank you";
            }
            catch (Exception)
            {
                return "Error";
                throw;
            }
        }