Message.Recoverable Property
Gets or sets a value that indicates whether the message is guaranteed to be delivered in the event of a computer failure or network problem.
Assembly: System.Messaging (in System.Messaging.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException |
The message queue is filtered to ignore the Recoverable property. |
The Recoverable property indicates whether the delivery of a message is guaranteed—even if a computer crashes while the message is en route to the destination queue.
If delivery of a message is guaranteed, the message is stored locally at every step along the route, until the message is successfully forwarded to the next computer. Setting the Recoverable property to true could affect throughput.
If the message is transactional, Message Queuing automatically treats the message as recoverable, regardless of the value of the Recoverable property.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.