public int GetUnreachableQCodesInfo(int AgentLogin, int ServiceID, out TWSQCodeInfo QCodesInfo) { object[] results = this.Invoke("GetUnreachableQCodesInfo", new object[] { AgentLogin, ServiceID}); QCodesInfo = ((TWSQCodeInfo)(results[1])); return ((int)(results[0])); }