/// <summary>
 /// Use this for security errors
 /// </summary>
 /// <param name="corr"></param>
 /// <param name="service"></param>
 internal MessageIntradayBar(CorrelationID corr, Service service, string security)
     : base(new Name("IntradayBarResponse"), corr, service)
 {
     this._responseError = new ElementIntradayBarResponseError(security);
     this._parent = null;
     this._isResponseError = true;
 }
 /// <summary>
 /// Use this for regular securities (no security error)
 /// </summary>
 /// <param name="corr"></param>
 /// <param name="bars"></param>
 /// <param name="service"></param>
 internal MessageIntradayBar(CorrelationID corr, Service service, IEnumerable<BarTickDataType> bars)
     : base(new Name("IntradayBarResponse"), corr, service)
 {
     this._parent = new ElementBarData(bars);
     this._responseError = null;
     this._isResponseError = false;
 }
 internal MessageIntradayBar(CorrelationID corr, IEnumerable <BarTickDataType> bars, Service service) :
     base(new Name("IntradayBarResponse"), corr, service)
 {
     this._parent = new ElementBarData(bars);
 }