C# Class Amqp.Framing.Properties

The Properties class defines the Immutable properties of the Message.
Inheritance: Amqp.Types.DescribedList
Datei anzeigen Open project: Azure/amqpnetlite Class Usage Examples

Public Methods

Method Description
GetCorrelationId ( ) : object

Gets the correlation identifier.

GetMessageId ( ) : object

Gets the message identifier.

Properties ( ) : System

Initializes a properties section.

SetCorrelationId ( object id ) : void

Sets the correlation identifier. If not null, the object type must be string, Guid, ulong or byte[].

SetMessageId ( object id ) : void

Sets the message identifier. If not null, the object type must be string, Guid, ulong or byte[].

ToString ( ) : string

Returns a string that represents the current properties object.

Private Methods

Method Description
ValidateIdentifier ( object id ) : object

Method Details

GetCorrelationId() public method

Gets the correlation identifier.
public GetCorrelationId ( ) : object
return object

GetMessageId() public method

Gets the message identifier.
public GetMessageId ( ) : object
return object

Properties() public method

Initializes a properties section.
public Properties ( ) : System
return System

SetCorrelationId() public method

Sets the correlation identifier. If not null, the object type must be string, Guid, ulong or byte[].
public SetCorrelationId ( object id ) : void
id object The identifier object to set.
return void

SetMessageId() public method

Sets the message identifier. If not null, the object type must be string, Guid, ulong or byte[].
public SetMessageId ( object id ) : void
id object The identifier object to set.
return void

ToString() public method

Returns a string that represents the current properties object.
public ToString ( ) : string
return string