Click or drag to resize
MessageT Constructor
This API is preliminary and subject to change.
Initializes a new instance of the MessageT class using the specified time-to-live and strongly-typed message body.

Namespace: net.openstack.Core.Domain.Queues
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public Message(
	TimeSpan timeToLive,
	T body
)

Parameters

timeToLive
Type: SystemTimeSpan
The time-to-live for the message.
body
Type: T
The message data.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf timeToLive is negative or Zero.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also