Click or drag to resize
Message Constructor
This API is preliminary and subject to change.
Initializes a new instance of the Message class using the specified time-to-live and 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,
	JObject body
)

Parameters

timeToLive
Type: SystemTimeSpan
The time-to-live for the message.
body
Type: Newtonsoft.Json.LinqJObject
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