Пример #1
0
 public CallRequestBody(string context, string serviceName, WSClientSL_sample.MuServiceReference.ArrayOfString cmnParameterValue, string parameterValue)
 {
     this.context           = context;
     this.serviceName       = serviceName;
     this.cmnParameterValue = cmnParameterValue;
     this.parameterValue    = parameterValue;
 }
Пример #2
0
        private System.IAsyncResult OnBeginCall(object[] inValues, System.AsyncCallback callback, object asyncState)
        {
            string context     = ((string)(inValues[0]));
            string serviceName = ((string)(inValues[1]));

            WSClientSL_sample.MuServiceReference.ArrayOfString cmnParameterValue = ((WSClientSL_sample.MuServiceReference.ArrayOfString)(inValues[2]));
            string parameterValue = ((string)(inValues[3]));

            return(this.BeginCall(context, serviceName, cmnParameterValue, parameterValue, callback, asyncState));
        }
Пример #3
0
 private System.IAsyncResult BeginCall(string context, string serviceName, WSClientSL_sample.MuServiceReference.ArrayOfString cmnParameterValue, string parameterValue, System.AsyncCallback callback, object asyncState)
 {
     WSClientSL_sample.MuServiceReference.CallRequest inValue = new WSClientSL_sample.MuServiceReference.CallRequest();
     inValue.Body                   = new WSClientSL_sample.MuServiceReference.CallRequestBody();
     inValue.Body.context           = context;
     inValue.Body.serviceName       = serviceName;
     inValue.Body.cmnParameterValue = cmnParameterValue;
     inValue.Body.parameterValue    = parameterValue;
     return(((WSClientSL_sample.MuServiceReference.ServiceForMuSoap)(this)).BeginCall(inValue, callback, asyncState));
 }
Пример #4
0
 public void CallAsync(string context, string serviceName, WSClientSL_sample.MuServiceReference.ArrayOfString cmnParameterValue, string parameterValue, object userState)
 {
     if ((this.onBeginCallDelegate == null))
     {
         this.onBeginCallDelegate = new BeginOperationDelegate(this.OnBeginCall);
     }
     if ((this.onEndCallDelegate == null))
     {
         this.onEndCallDelegate = new EndOperationDelegate(this.OnEndCall);
     }
     if ((this.onCallCompletedDelegate == null))
     {
         this.onCallCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCallCompleted);
     }
     base.InvokeAsync(this.onBeginCallDelegate, new object[] {
         context,
         serviceName,
         cmnParameterValue,
         parameterValue
     }, this.onEndCallDelegate, this.onCallCompletedDelegate, userState);
 }
Пример #5
0
 public void CallAsync(string context, string serviceName, WSClientSL_sample.MuServiceReference.ArrayOfString cmnParameterValue, string parameterValue)
 {
     this.CallAsync(context, serviceName, cmnParameterValue, parameterValue, null);
 }