Beispiel #1
0
 public void RemoteCallError(InvokeErrorInfo error)
 {
     if (this.InvokeMethodFailed != null)
     {
         this.InvokeMethodFailed(error);
     }
 }
Beispiel #2
0
        private void RemoteCallFailed(object sender, RemoteCallExceptionEventArgs e)
        {
            Hashtable ht = new Hashtable();

            ParameterInfo[] parameters = e.Request.Method.GetParameters();
            for (int i = 0; i < parameters.Length; i++)
            {
                ht.Add(parameters[i].Name, e.Request.CallParameters[i]);
            }
            InvokeErrorInfo errInfo = new InvokeErrorInfo(e.Request.Method.Name, e.Exception, ht);

            remoteCallers[e.Request.Method.DeclaringType].RemoteCallError(errInfo);
        }
Beispiel #3
0
 public void RemoteCallError(InvokeErrorInfo error)
 {
     if (this.InvokeMethodFailed != null)
         this.InvokeMethodFailed(error);
 }