Microsoft.JScript.Vsa.VsaEngine.ValidateRootMoniker C# (CSharp) Method

ValidateRootMoniker() protected method

protected ValidateRootMoniker ( string rootMoniker ) : void
rootMoniker string
return void
      protected override void ValidateRootMoniker(string rootMoniker){
        // We override this method to avoid reading the registry in a non-VSA scenario
        if (this.genStartupClass)
          base.ValidateRootMoniker(rootMoniker);
        else if (rootMoniker == null || rootMoniker.Length == 0)
          throw new VsaException(VsaError.RootMonikerInvalid);
      }