public CompositeType GetDataUsingDataContract(CompositeType composite) { if (composite == null) { throw new ArgumentNullException("composite"); } if (composite.BoolValue) { composite.StringValue += "Suffix"; } return composite; }
/// <remarks/> public void GetDataUsingDataContractAsync(CompositeType composite, object userState) { if ((this.GetDataUsingDataContractOperationCompleted == null)) { this.GetDataUsingDataContractOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetDataUsingDataContractOperationCompleted); } this.InvokeAsync("GetDataUsingDataContract", new object[] { composite}, this.GetDataUsingDataContractOperationCompleted, userState); }
/// <remarks/> public void GetDataUsingDataContractAsync(CompositeType composite) { this.GetDataUsingDataContractAsync(composite, null); }
public CompositeType GetDataUsingDataContract(CompositeType composite) { object[] results = this.Invoke("GetDataUsingDataContract", new object[] { composite}); return ((CompositeType)(results[0])); }
/// <remarks/> public System.IAsyncResult BeginGetDataUsingDataContract(CompositeType composite, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("GetDataUsingDataContract", new object[] { composite}, callback, asyncState); }