/// <remarks/> public void SetAgent2Async(AgentExtend1Lite agent) { this.SetAgent2Async(agent, null); }
/// <remarks/> public void SetAgent2Async(AgentExtend1Lite agent, object userState) { if ((this.SetAgent2OperationCompleted == null)) { this.SetAgent2OperationCompleted = new System.Threading.SendOrPostCallback(this.OnSetAgent2OperationCompleted); } this.InvokeAsync("SetAgent2", new object[] { agent}, this.SetAgent2OperationCompleted, userState); }
public string SetAgent2(AgentExtend1Lite agent) { object[] results = this.Invoke("SetAgent2", new object[] { agent}); return ((string)(results[0])); }