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 命名空间