/// <remarks/> public System.IAsyncResult BeginExecuteMacOSCommand(MacOSCommand command, int secondsTimeout, System.AsyncCallback callback, object asyncState) { return(this.BeginInvoke("ExecuteMacOSCommand", new object[] { command, secondsTimeout }, callback, asyncState)); }
public string ExecuteMacOSCommand(MacOSCommand command, int secondsTimeout) { object[] results = this.Invoke("ExecuteMacOSCommand", new object[] { command, secondsTimeout }); return((string)(results[0])); }
/// <remarks/> public void ExecuteMacOSCommandAsync(MacOSCommand command, int secondsTimeout, object userState) { if ((this.ExecuteMacOSCommandOperationCompleted == null)) { this.ExecuteMacOSCommandOperationCompleted = new System.Threading.SendOrPostCallback(this.OnExecuteMacOSCommandOperationCompleted); } this.InvokeAsync("ExecuteMacOSCommand", new object[] { command, secondsTimeout }, this.ExecuteMacOSCommandOperationCompleted, userState); }
/// <remarks/> public void ExecuteMacOSCommandAsync(MacOSCommand command, int secondsTimeout) { this.ExecuteMacOSCommandAsync(command, secondsTimeout, null); }