Set the date and time for which the message should remain valid, i.e. if not fully delivered do not send any non-delivered messages after the specified date.
Namespace: Dynmark.Services.API
Assembly: Dynmark.Services.API (in Dynmark.Services.API.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Property ValidUntil As Date |
| C# |
|---|
| public DateTime ValidUntil { get; set; } |
| C++ |
|---|
| public property DateTime ValidUntil sealed { DateTime get(); void set(DateTime value); } |
| J# |
|---|
| /** property */ public DateTime get_ValidUntil(); /** property */ public void set_ValidUntil(DateTime value); |
| JScript |
|---|
| public function get ValidUntil() : DateTime public function set ValidUntil(value : DateTime); |
Property Value
A
Exceptions
| Exception Type | Condition |
|---|---|
| ApiArgumentException | Thrown if the date is greater than 3 days after delivery date |
Remarks
To set back to its default value, set equal to