Partager via


Propriété MessageQueueTask.ErrorIfMessageTimeOut

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

Espace de noms :  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly :  Microsoft.SqlServer.MSMQTask (en Microsoft.SqlServer.MSMQTask.dll)

Syntaxe

'Déclaration
Public Property ErrorIfMessageTimeOut As Boolean 
    Get 
    Set
'Utilisation
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)

Valeur de propriété

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

Implémente

IMessageQueueTask.ErrorIfMessageTimeOut

Notes

The default value of this property is false.

Voir aussi

Référence

MessageQueueTask Classe

Espace de noms Microsoft.SqlServer.Dts.Tasks.MessageQueueTask