Share via


Formatter.CanRead Method

Gets a value that indicates whether the message queue can be read.

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

Syntax

'Declaration
Public Function CanRead ( _
    msg As Message _
) As Boolean
public bool CanRead (
    Message msg
)
public:
virtual bool CanRead (
    Message^ msg
) sealed
public final boolean CanRead (
    Message msg
)
public final function CanRead (
    msg : Message
) : boolean

Parameters

  • msg
    The message queue whose readability is in question.

Return Value

true if the message object can be read.

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

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