共用方式為


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