Exemplo n.º 1
0
 /// <remarks/>
 public void AddWorkflowScheduleAsync(string fileUrl, string workflowName, string startDataXml, Schedule schedule, bool updateIfExists, object userState) {
     if ((this.AddWorkflowScheduleOperationCompleted == null)) {
         this.AddWorkflowScheduleOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddWorkflowScheduleOperationCompleted);
     }
     this.InvokeAsync("AddWorkflowSchedule", new object[] {
                 fileUrl,
                 workflowName,
                 startDataXml,
                 schedule,
                 updateIfExists}, this.AddWorkflowScheduleOperationCompleted, userState);
 }
Exemplo n.º 2
0
 /// <remarks/>
 public void AddWorkflowScheduleAsync(string fileUrl, string workflowName, string startDataXml, Schedule schedule, bool updateIfExists) {
     this.AddWorkflowScheduleAsync(fileUrl, workflowName, startDataXml, schedule, updateIfExists, null);
 }
Exemplo n.º 3
0
 /// <remarks/>
 public void AddWorkflowScheduleOnListItemAsync(int itemId, string listName, string workflowName, string startDataXml, Schedule schedule, bool updateIfExists) {
     this.AddWorkflowScheduleOnListItemAsync(itemId, listName, workflowName, startDataXml, schedule, updateIfExists, null);
 }
Exemplo n.º 4
0
 public int AddWorkflowSchedule(string fileUrl, string workflowName, string startDataXml, Schedule schedule, bool updateIfExists) {
     object[] results = this.Invoke("AddWorkflowSchedule", new object[] {
                 fileUrl,
                 workflowName,
                 startDataXml,
                 schedule,
                 updateIfExists});
     return ((int)(results[0]));
 }
Exemplo n.º 5
0
 public int AddWorkflowScheduleOnListItem(int itemId, string listName, string workflowName, string startDataXml, Schedule schedule, bool updateIfExists) {
     object[] results = this.Invoke("AddWorkflowScheduleOnListItem", new object[] {
                 itemId,
                 listName,
                 workflowName,
                 startDataXml,
                 schedule,
                 updateIfExists});
     return ((int)(results[0]));
 }