Compartilhar via


Método CanRead

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

Namespace:  Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
Assembly:  Microsoft.SqlServer.MSMQTask (em Microsoft.SqlServer.MSMQTask.dll)

Sintaxe

'Declaração
Public Function CanRead ( _
    msg As Message _
) As Boolean
'Uso
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

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
true if the message object can be read.

Implementa

IMessageFormatter. . :: . .CanRead(Message)