/// <remarks/> public void OrderCashOnDeliverySwitchAsync(long OrderId, int CashOnDelivery, ModelOrder modelOrder) { this.OrderCashOnDeliverySwitchAsync(OrderId, CashOnDelivery, modelOrder, null); }
/// <remarks/> public void OrderCashOnDeliverySwitchAsync(long OrderId, int CashOnDelivery, ModelOrder modelOrder, object userState) { if ((this.OrderCashOnDeliverySwitchOperationCompleted == null)) { this.OrderCashOnDeliverySwitchOperationCompleted = new System.Threading.SendOrPostCallback(this.OnOrderCashOnDeliverySwitchOperationCompleted); } this.InvokeAsync("OrderCashOnDeliverySwitch", new object[] { OrderId, CashOnDelivery, modelOrder}, this.OrderCashOnDeliverySwitchOperationCompleted, userState); }
public bool OrderCashOnDeliverySwitch(long OrderId, int CashOnDelivery, ref ModelOrder modelOrder) { object[] results = this.Invoke("OrderCashOnDeliverySwitch", new object[] { OrderId, CashOnDelivery, modelOrder}); modelOrder = ((ModelOrder)(results[1])); return ((bool)(results[0])); }