TimeToBeReceived Property (MessagePropertyFilter)
Gets or sets a value that indicates whether to retrieve TimeToBeReceived property information when receiving or peeking a message.
Syntax
'Declaration <MessagingDescriptionAttribute("Specifies the total time (in seconds) the message is allowed to live. Use "Infinity" to set the maximum value.")> <DefaultValueAttribute()> Public Property TimeToBeReceived As Boolean
'Usage Dim instance As MessagePropertyFilter Dim value As Boolean instance.TimeToBeReceived = value value = instance.TimeToBeReceived
[MessagingDescription("Specifies the total time (in seconds) the message is allowed to live. Use "Infinity" to set the maximum value.")] [DefaultValue()] public bool TimeToBeReceived {get; set;}
[MessagingDescription("Specifies the total time (in seconds) the message is allowed to live. Use "Infinity" to set the maximum value.")] [DefaultValue()] public: property bool TimeToBeReceived { bool get(); void set ( bool value); }
Property Value
true to receive TimeToBeReceived information; otherwise, false. The default is false.Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also