/// <remarks/> public void CreateOrUpdateSurveyAsync(string ticket, TransitSurvey survey) { this.CreateOrUpdateSurveyAsync(ticket, survey, null); }
/// <remarks/> public void CreateOrUpdateSurveyAsync(string ticket, TransitSurvey survey, object userState) { if ((this.CreateOrUpdateSurveyOperationCompleted == null)) { this.CreateOrUpdateSurveyOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCreateOrUpdateSurveyOperationCompleted); } this.InvokeAsync("CreateOrUpdateSurvey", new object[] { ticket, survey}, this.CreateOrUpdateSurveyOperationCompleted, userState); }
public int CreateOrUpdateSurvey(string ticket, TransitSurvey survey) { object[] results = this.Invoke("CreateOrUpdateSurvey", new object[] { ticket, survey}); return ((int)(results[0])); }