Class ConnectionFailedException
Exception thrown when a connection is used that it has failed in some way.
Inheritance
System.Object
    System.Exception
    Apache.NMS.NMSException
    ConnectionFailedException
  Implements
System.Runtime.Serialization.ISerializable
  Inherited Members
      Apache.NMS.NMSException.exceptionErrorCode
    
    
      Apache.NMS.NMSException.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
    
    
      Apache.NMS.NMSException.ErrorCode
    
    
      System.Exception.GetBaseException()
    
    
      System.Exception.GetType()
    
    
      System.Exception.ToString()
    
    
      System.Exception.Data
    
    
      System.Exception.HelpLink
    
    
      System.Exception.HResult
    
    
      System.Exception.InnerException
    
    
      System.Exception.Message
    
    
      System.Exception.Source
    
    
      System.Exception.StackTrace
    
    
      System.Exception.TargetSite
    
    
      System.Exception.SerializeObjectState
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Apache.NMS.ActiveMQ
Assembly: Apache.NMS.ActiveMQ.dll
Syntax
[Serializable]
public class ConnectionFailedException : NMSException, ISerializableConstructors
| Improve this Doc View SourceConnectionFailedException()
Declaration
public ConnectionFailedException()ConnectionFailedException(SerializationInfo, StreamingContext)
Initializes a new instance of the ConnectionFailedException class with serialized data. Throws System.ArgumentNullException if the info parameter is null. Throws System.Runtime.Serialization.SerializationException if the class name is null or System.Exception.HResult is zero (0).
Declaration
protected ConnectionFailedException(SerializationInfo info, StreamingContext context)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | The SerializationInfo that holds the serialized object data about the exception being thrown. | 
| System.Runtime.Serialization.StreamingContext | context | The StreamingContext that contains contextual information about the source or destination. | 
ConnectionFailedException(String)
Declaration
public ConnectionFailedException(string message)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | 
ConnectionFailedException(String, Exception)
Declaration
public ConnectionFailedException(string message, Exception innerException)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | |
| System.Exception | innerException | 
ConnectionFailedException(String, String)
Declaration
public ConnectionFailedException(string message, string errorCode)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | |
| System.String | errorCode | 
ConnectionFailedException(String, String, Exception)
Declaration
public ConnectionFailedException(string message, string errorCode, Exception innerException)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | message | |
| System.String | errorCode | |
| System.Exception | innerException | 
Implements
      System.Runtime.Serialization.ISerializable