Exemplo n.º 1
0
 /// <remarks/>
 public void SetSchedulePropertiesAsync(string Name, string ScheduleID, ScheduleDefinition ScheduleDefinition,
                                        object userState)
 {
     if ((_setSchedulePropertiesOperationCompleted == null))
     {
         _setSchedulePropertiesOperationCompleted =
             new SendOrPostCallback(OnSetSchedulePropertiesOperationCompleted);
     }
     InvokeAsync("SetScheduleProperties", new object[]
                                              {
                                                  Name,
                                                  ScheduleID,
                                                  ScheduleDefinition
                                              }, _setSchedulePropertiesOperationCompleted, userState);
 }
Exemplo n.º 2
0
 /// <remarks/>
 public IAsyncResult BeginSetScheduleProperties(string Name, string ScheduleID,
                                                ScheduleDefinition ScheduleDefinition, AsyncCallback callback,
                                                object asyncState)
 {
     return BeginInvoke("SetScheduleProperties", new object[]
                                                     {
                                                         Name,
                                                         ScheduleID,
                                                         ScheduleDefinition
                                                     }, callback, asyncState);
 }
Exemplo n.º 3
0
 /// <remarks/>
 public void SetSchedulePropertiesAsync(string Name, string ScheduleID, ScheduleDefinition ScheduleDefinition)
 {
     SetSchedulePropertiesAsync(Name, ScheduleID, ScheduleDefinition, null);
 }
Exemplo n.º 4
0
 public void SetScheduleProperties(string Name, string ScheduleID, ScheduleDefinition ScheduleDefinition)
 {
     Invoke("SetScheduleProperties", new object[]
                                         {
                                             Name,
                                             ScheduleID,
                                             ScheduleDefinition
                                         });
 }
Exemplo n.º 5
0
 /// <remarks/>
 public void CreateScheduleAsync(string Name, ScheduleDefinition ScheduleDefinition, object userState)
 {
     if ((_createScheduleOperationCompleted == null))
     {
         _createScheduleOperationCompleted = new SendOrPostCallback(OnCreateScheduleOperationCompleted);
     }
     InvokeAsync("CreateSchedule", new object[]
                                       {
                                           Name,
                                           ScheduleDefinition
                                       }, _createScheduleOperationCompleted, userState);
 }
Exemplo n.º 6
0
 /// <remarks/>
 public void CreateScheduleAsync(string Name, ScheduleDefinition ScheduleDefinition)
 {
     CreateScheduleAsync(Name, ScheduleDefinition, null);
 }
Exemplo n.º 7
0
 /// <remarks/>
 public IAsyncResult BeginCreateSchedule(string Name, ScheduleDefinition ScheduleDefinition,
                                         AsyncCallback callback, object asyncState)
 {
     return BeginInvoke("CreateSchedule", new object[]
                                              {
                                                  Name,
                                                  ScheduleDefinition
                                              }, callback, asyncState);
 }
Exemplo n.º 8
0
 public string CreateSchedule(string Name, ScheduleDefinition ScheduleDefinition)
 {
     object[] results = Invoke("CreateSchedule", new object[]
                                                     {
                                                         Name,
                                                         ScheduleDefinition
                                                     });
     return ((string) (results[0]));
 }