Show / Hide Table of Contents

# Class ConnectionId

##### Inheritance

System.Object
BaseDataStructure
ConnectionId

##### Implements

DataStructure
System.ICloneable

##### Inherited Members

BaseDataStructure.IsMarshallAware()
BaseDataStructure.BeforeMarshall(OpenWireFormat)
BaseDataStructure.AfterMarshall(OpenWireFormat)
BaseDataStructure.BeforeUnmarshall(OpenWireFormat)
BaseDataStructure.AfterUnmarshall(OpenWireFormat)
BaseDataStructure.SetMarshalledForm(OpenWireFormat, Byte[])
BaseDataStructure.GetMarshalledForm(OpenWireFormat)
BaseDataStructure.HashCode(Object)
BaseDataStructure.Clone()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)

###### Namespace: Apache.NMS.ActiveMQ.Commands

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public class ConnectionId : BaseDataStructure, DataStructure, ICloneable

### Constructors

| Improve this Doc View Source

#### ConnectionId()

##### Declaration

    public ConnectionId()

| Improve this Doc View Source

#### ConnectionId(ConsumerId)

##### Declaration

    public ConnectionId(ConsumerId consumerId)

##### Parameters

Type | Name | Description
--- | --- | ---
ConsumerId | consumerId |

| Improve this Doc View Source

#### ConnectionId(ProducerId)

##### Declaration

    public ConnectionId(ProducerId producerId)

##### Parameters

Type | Name | Description
--- | --- | ---
ProducerId | producerId |

| Improve this Doc View Source

#### ConnectionId(SessionId)

##### Declaration

    public ConnectionId(SessionId sessionId)

##### Parameters

Type | Name | Description
--- | --- | ---
SessionId | sessionId |

### Fields

| Improve this Doc View Source

#### ID_CONNECTIONID

##### Declaration

    public const byte ID_CONNECTIONID = 120

##### Field Value

Type | Description
--- | ---
System.Byte |

### Properties

| Improve this Doc View Source

#### Value

##### Declaration

    public string Value { get; set; }

##### Property Value

Type | Description
--- | ---
System.String |

### Methods

| Improve this Doc View Source

#### Equals(ConnectionId)

##### Declaration

    public virtual bool Equals(ConnectionId that)

##### Parameters

Type | Name | Description
--- | --- | ---
ConnectionId | that |

##### Returns

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### Equals(Object)

##### Declaration

    public override bool Equals(object that)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Object | that |

##### Returns

Type | Description
--- | ---
System.Boolean |

##### Overrides

System.Object.Equals(System.Object)
| Improve this Doc View Source

#### GetDataStructureType()

##### Declaration

    public override byte GetDataStructureType()

##### Returns

Type | Description
--- | ---
System.Byte |

##### Overrides

BaseDataStructure.GetDataStructureType()
| Improve this Doc View Source

#### GetHashCode()

##### Declaration

    public override int GetHashCode()

##### Returns

Type | Description
--- | ---
System.Int32 |

##### Overrides

System.Object.GetHashCode()
| Improve this Doc View Source

#### ToString()

##### Declaration

    public override string ToString()

##### Returns

Type | Description
--- | ---
System.String |

##### Overrides

System.Object.ToString()

### Implements

DataStructure
System.ICloneable