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; }
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)); }
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)); }
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); }
public void CallAsync(string context, string serviceName, WSClientSL_sample.MuServiceReference.ArrayOfString cmnParameterValue, string parameterValue) { this.CallAsync(context, serviceName, cmnParameterValue, parameterValue, null); }