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
매개 변수
- msg
유형: System.Messaging.Message
The message queue whose readability is in question.
반환 값
유형: System.Boolean
true if the message object can be read.
구현
IMessageFormatter.CanRead(Message)