Share via


MessageQueueTask.ErrorIfMessageTimeOut Property

Gets or sets a Boolean specifying whether the task fails when the message times out.

Namespace:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly:  Microsoft.SqlServer.MSMQTask (in Microsoft.SqlServer.MSMQTask.dll)

Syntax

'Declaration
Public Property ErrorIfMessageTimeOut As Boolean
    Get
    Set
'Usage
Dim instance As MessageQueueTask
Dim value As Boolean

value = instance.ErrorIfMessageTimeOut

instance.ErrorIfMessageTimeOut = value
public bool ErrorIfMessageTimeOut { get; set; }
public:
virtual property bool ErrorIfMessageTimeOut {
    bool get () sealed;
    void set (bool value) sealed;
}
abstract ErrorIfMessageTimeOut : bool with get, set
override ErrorIfMessageTimeOut : bool with get, set
final function get ErrorIfMessageTimeOut () : boolean
final function set ErrorIfMessageTimeOut (value : boolean)

Property Value

Type: System.Boolean
true if the task fails when the message times out; false if the task does not.

Implements

IMessageQueueTask.ErrorIfMessageTimeOut

Remarks

The default value of this property is false.