Пример #1
0
 private static void ProcessRequest(RpcHttpServerChannel channel, HttpListenerContext httpContext)
 {
     try {
         RpcHttpServerTransaction tx = new RpcHttpServerTransaction(channel, httpContext);
         channel.OnTransactionCreated(tx);
     } catch (Exception ex) {
         SystemLog.Error(LogEventID.RpcFailed, ex, "RpcServiceStartFailed");
     }
 }
Пример #2
0
 public static void ProcessRequest(RpcHttpServerChannel channel, HttpListenerContext httpContext)
 {
     try {
         RpcHttpServerTransaction trans = new RpcHttpServerTransaction(httpContext);
         channel.TransactionStart(trans);
     } catch (Exception ex) {
         SystemLog.Error(LogEventID.RpcFailed, ex, "RpcServiceStartFailed");
     }
 }