/// <summary>
 /// Ping the server.
 /// </summary>
 /// <param name="context">The string to log with round-trip time.</param>
 /// <param name="callback">Used to return the ping reply.</param>
 public void Ping( string context, IPingContextCallback<string> callback )
 {
     pings.PingServer( context, callback );
 }
示例#2
0
 /// <summary>
 /// Ping the server.
 /// </summary>
 /// <param name="context">The string to log with round-trip time.</param>
 /// <param name="callback">Used to return the ping reply.</param>
 public void Ping(string context, IPingContextCallback <string> callback)
 {
     pings.PingServer(context, callback);
 }