Show / Hide Table of Contents

# Class MessageId

##### Inheritance

System.Object
BaseDataStructure
MessageId

##### 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 MessageId : BaseDataStructure, DataStructure, ICloneable

### Constructors

| Improve this Doc View Source

#### MessageId()

##### Declaration

    public MessageId()

| Improve this Doc View Source

#### MessageId(ProducerId, Int64)

##### Declaration

    public MessageId(ProducerId producerId, long producerSequenceId)

##### Parameters

Type | Name | Description
--- | --- | ---
ProducerId | producerId |
System.Int64 | producerSequenceId |

| Improve this Doc View Source

#### MessageId(String)

##### Declaration

    public MessageId(string value)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | value |

### Fields

| Improve this Doc View Source

#### ID_MESSAGEID

##### Declaration

    public const byte ID_MESSAGEID = 110

##### Field Value

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

### Properties

| Improve this Doc View Source

#### BrokerSequenceId

##### Declaration

    public long BrokerSequenceId { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

| Improve this Doc View Source

#### ProducerId

##### Declaration

    public ProducerId ProducerId { get; set; }

##### Property Value

Type | Description
--- | ---
ProducerId |

| Improve this Doc View Source

#### ProducerSequenceId

##### Declaration

    public long ProducerSequenceId { get; set; }

##### Property Value

Type | Description
--- | ---
System.Int64 |

| Improve this Doc View Source

#### TextView

##### Declaration

    public string TextView { get; set; }

##### Property Value

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

### Methods

| Improve this Doc View Source

#### Equals(MessageId)

##### Declaration

    public virtual bool Equals(MessageId that)

##### Parameters

Type | Name | Description
--- | --- | ---
MessageId | 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

#### SetValue(String)

Sets the value as a String

##### Declaration

    public void SetValue(string messageKey)

##### Parameters

Type | Name | Description
--- | --- | ---
System.String | messageKey |

| Improve this Doc View Source

#### ToString()

##### Declaration

    public override string ToString()

##### Returns

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

##### Overrides

System.Object.ToString()

### Implements

DataStructure
System.ICloneable