Interface IStreamProperties
Common AMQP Stream content-class headers interface, spanning the union of the functionality offered by versions 0-8, 0-8qpid, 0-9 and 0-9-1 of AMQP.
public interface IStreamProperties : IContentHeader
- Inherited Members
Remarks
The specification code generator provides protocol-version-specific implementations of this interface. To obtain an implementation of this interface in a protocol-version-neutral way, use IModel.CreateStreamProperties().
Each property is readable, writable and clearable: a cleared property will not be transmitted over the wire. Properties on a fresh instance are clear by default.
Properties
ContentEncoding
MIME content encoding.
string ContentEncoding { get; set; }
Property Value
ContentType
MIME content type.
string ContentType { get; set; }
Property Value
Headers
Message header field table.
IDictionary<string, object> Headers { get; set; }
Property Value
Priority
Message priority, 0 to 9.
byte Priority { get; set; }
Property Value
Timestamp
Message timestamp.
AmqpTimestamp Timestamp { get; set; }
Property Value
Methods
ClearContentEncoding()
Clear the ContentEncoding property.
void ClearContentEncoding()
ClearContentType()
Clear the ContentType property.
void ClearContentType()
ClearHeaders()
Clear the Headers property.
void ClearHeaders()
ClearPriority()
Clear the Priority property.
void ClearPriority()
ClearTimestamp()
Clear the Timestamp property.
void ClearTimestamp()
IsContentEncodingPresent()
Returns true if the ContentEncoding property is present.
bool IsContentEncodingPresent()
Returns
IsContentTypePresent()
Returns true if the ContentType property is present.
bool IsContentTypePresent()
Returns
IsHeadersPresent()
Returns true if the Headers property is present.
bool IsHeadersPresent()
Returns
IsPriorityPresent()
Returns true if the Priority property is present.
bool IsPriorityPresent()
Returns
IsTimestampPresent()
Returns true if the Timestamp property is present.
bool IsTimestampPresent()