Exemplo n.º 1
0
 public DeploymentManager(Uri deploymentSource) : this(deploymentSource, false, true, null, null)
 {
     if (deploymentSource == null)
     {
         throw new ArgumentNullException("deploymentSource");
     }
     UriHelper.ValidateSupportedSchemeInArgument(deploymentSource, "deploymentSource");
 }
Exemplo n.º 2
0
 public DeploymentManager(Uri deploymentSource)
     : this(deploymentSource, false, true, (DownloadOptions)null, (AsyncOperation)null)
 {
     if (deploymentSource == (Uri)null)
     {
         throw new ArgumentNullException("deploymentSource");
     }
     UriHelper.ValidateSupportedSchemeInArgument(deploymentSource, "deploymentSource");
 }
 public InPlaceHostingManager(Uri deploymentManifest, bool launchInHostProcess)
 {
     if (!PlatformSpecific.OnXPOrAbove)
     {
         throw new PlatformNotSupportedException(Resources.GetString("Ex_RequiresXPOrHigher"));
     }
     if (deploymentManifest == null)
     {
         throw new ArgumentNullException("deploymentManifest");
     }
     UriHelper.ValidateSupportedSchemeInArgument(deploymentManifest, "deploymentSource");
     this._deploymentManager = new DeploymentManager(deploymentManifest, false, true, null, null);
     this._log = this._deploymentManager.LogId;
     this._isLaunchInHostProcess = launchInHostProcess;
     this._Initialize();
     Logger.AddInternalState(this._log, "Activation through IPHM APIs started.");
     Logger.AddMethodCall(this._log, string.Concat(new object[] { "InPlaceHostingManager(", deploymentManifest, ",", launchInHostProcess.ToString(), ") called." }));
 }