コード例 #1
0
        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));
        }
コード例 #2
0
 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);
 }
コード例 #3
0
 public void InstallPackageToNodeAsync(string farmName, string resourceName, string nodeName, ServiceProxies.PackageInstallationService.PackageInfo.PackageChoice choice)
 {
     this.InstallPackageToNodeAsync(farmName, resourceName, nodeName, choice, null);
 }
コード例 #4
0
 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));
 }
コード例 #5
0
 public void InstallPackageToNode(string farmName, string resourceName, string nodeName, ServiceProxies.PackageInstallationService.PackageInfo.PackageChoice choice)
 {
     base.Channel.InstallPackageToNode(farmName, resourceName, nodeName, choice);
 }