Dela 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
public bool ErrorIfMessageTimeOut { get; set; }
public:
virtual property bool ErrorIfMessageTimeOut {
    bool get () sealed;
    void set (bool value) sealed;
}
/** @property */
public final boolean get_ErrorIfMessageTimeOut ()

/** @property */
public final void set_ErrorIfMessageTimeOut (boolean value)
public final function get ErrorIfMessageTimeOut () : boolean

public final function set ErrorIfMessageTimeOut (value : boolean)

Property Value

true if the task fails when the message times out; false if the task does not.

Remarks

The default value of this property is false.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

MessageQueueTask Class
MessageQueueTask Members
Microsoft.SqlServer.Dts.Tasks.MessageQueueTask Namespace