private System.IAsyncResult OnBeginInstallPackageToNode(object[] inValues, System.AsyncCallback callback, object asyncState) { string farmName = ((string)(inValues[0])); string resourceName = ((string)(inValues[1])); string nodeName = ((string)(inValues[2])); ServiceProxies.PackageInstallationService.PackageInfo.PackageChoice choice = ((ServiceProxies.PackageInstallationService.PackageInfo.PackageChoice)(inValues[3])); return(this.BeginInstallPackageToNode(farmName, resourceName, nodeName, choice, callback, asyncState)); }
public void InstallPackageToNodeAsync(string farmName, string resourceName, string nodeName, ServiceProxies.PackageInstallationService.PackageInfo.PackageChoice choice, object userState) { if ((this.onBeginInstallPackageToNodeDelegate == null)) { this.onBeginInstallPackageToNodeDelegate = new BeginOperationDelegate(this.OnBeginInstallPackageToNode); } if ((this.onEndInstallPackageToNodeDelegate == null)) { this.onEndInstallPackageToNodeDelegate = new EndOperationDelegate(this.OnEndInstallPackageToNode); } if ((this.onInstallPackageToNodeCompletedDelegate == null)) { this.onInstallPackageToNodeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnInstallPackageToNodeCompleted); } base.InvokeAsync(this.onBeginInstallPackageToNodeDelegate, new object[] { farmName, resourceName, nodeName, choice }, this.onEndInstallPackageToNodeDelegate, this.onInstallPackageToNodeCompletedDelegate, userState); }
public void InstallPackageToNodeAsync(string farmName, string resourceName, string nodeName, ServiceProxies.PackageInstallationService.PackageInfo.PackageChoice choice) { this.InstallPackageToNodeAsync(farmName, resourceName, nodeName, choice, null); }
public System.IAsyncResult BeginInstallPackageToNode(string farmName, string resourceName, string nodeName, ServiceProxies.PackageInstallationService.PackageInfo.PackageChoice choice, System.AsyncCallback callback, object asyncState) { return(base.Channel.BeginInstallPackageToNode(farmName, resourceName, nodeName, choice, callback, asyncState)); }
public void InstallPackageToNode(string farmName, string resourceName, string nodeName, ServiceProxies.PackageInstallationService.PackageInfo.PackageChoice choice) { base.Channel.InstallPackageToNode(farmName, resourceName, nodeName, choice); }