Метод Formatter.CanRead

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

Пространство имен:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Сборка:  Microsoft.SqlServer.MSMQTask (в Microsoft.SqlServer.MSMQTask.dll)

Синтаксис

'Декларация
Public Function CanRead ( _
    msg As Message _
) As Boolean
'Применение
Dim instance As Formatter 
Dim msg As Message 
Dim returnValue As Boolean 

returnValue = instance.CanRead(msg)
public bool CanRead(
    Message msg
)
public:
virtual bool CanRead(
    Message^ msg
) sealed
abstract CanRead : 
        msg:Message -> bool  
override CanRead : 
        msg:Message -> bool
public final function CanRead(
    msg : Message
) : boolean

Параметры

Возвращаемое значение

Тип: System.Boolean
true if the message object can be read.

Реализует

IMessageFormatter.CanRead(Message)

См. также

Справочник

Formatter Класс

Пространство имен Microsoft.SqlServer.Dts.Tasks.MessageQueueTask