CanRead メソッド

メッセージ キューを読み取ることができるかどうかを示す値を取得します。

名前空間:  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 です。

実装

IMessageFormatter. . :: . .CanRead(Message)