internal AdomdConnectionException(string message, Exception innerException) : base(message, (innerException is XmlaStreamException && (innerException.Message == null || innerException.Message.Length == 0)) ? innerException.InnerException : innerException)
 {
     if (innerException is XmlaStreamException)
     {
         this.exceptionCause = ((XmlaStreamException)innerException).ConnectionExceptionCause;
     }
 }
Beispiel #2
0
 internal XmlaStreamException(Exception innerException, ConnectionExceptionCause connectionExceptionCause) : this(innerException)
 {
     this.connectionExceptionCause = connectionExceptionCause;
 }
 internal AdomdConnectionException(string message, Exception innerException, ConnectionExceptionCause exceptionCause) : this(message, innerException)
 {
     this.exceptionCause = exceptionCause;
 }
 private AdomdConnectionException(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     this.exceptionCause = (ConnectionExceptionCause)info.GetValue("ExceptionCauseProperty", typeof(ConnectionExceptionCause));
 }