public ToolkitResultProtocol CreateLead(string state, string country, string timeZone, LeadSiteType siteType, string leadSource) { object[] results = this.Invoke("CreateLead", new object[] { state, country, timeZone, siteType, leadSource}); return ((ToolkitResultProtocol)(results[0])); }
/// <remarks/> public System.IAsyncResult BeginCreateLead(string state, string country, string timeZone, LeadSiteType siteType, string leadSource, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("CreateLead", new object[] { state, country, timeZone, siteType, leadSource}, callback, asyncState); }