protected override void ParseConnectionStringParams(ParamValueCollection parametres) { if (parametres == null) { return; } base.ParseConnectionStringParams(parametres); this.QueueName = parametres.GetValue("QueueName") ?? ""; if (parametres.Contains("ExecutionTimeout")) { var value = parametres.GetValue("ExecutionTimeout"); this.ExecutionTimeout = String.IsNullOrWhiteSpace(value) ? DEFAULT_EXECUTION_TIMEOUT : Int32.Parse(value); } }
protected override void ParseConnectionStringParams(ParamValueCollection parametres) { base.ParseConnectionStringParams(parametres); if (parametres != null) { this.From = parametres.GetValue("From") ?? ""; } }