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.QueuesAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntaxpublic Message(
	TimeSpan timeToLive,
	JObject body
)
Public Sub New ( 
	timeToLive As TimeSpan,
	body As JObject
)
public:
Message(
	TimeSpan timeToLive, 
	JObject^ body
)
new : 
        timeToLive : TimeSpan * 
        body : JObject -> MessageParameters
- timeToLive
 - Type: SystemTimeSpan
The time-to-live for the message. - body
 - Type: Newtonsoft.Json.LinqJObject
The message data. 
Exceptions
Version Information.NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also