/// <summary> /// Construct a non-runnable ParameterSet, specifying /// the provider exception that made it invalid. /// </summary> public TestParameters(Exception exception) { this.RunState = RunState.NotRunnable; this.Properties.Set(PropertyNames.SkipReason, ExceptionHelper.BuildMessage(exception)); this.Properties.Set(PropertyNames.ProviderStackTrace, ExceptionHelper.BuildStackTrace(exception)); }