IMessageFormatter.CanRead(Message) 方法
定義
在類別內實作時,決定格式子是否可以將訊息的內容還原序列化。When implemented in a class, determines whether the formatter can deserialize the contents of the message.
public:
bool CanRead(System::Messaging::Message ^ message);
public bool CanRead (System.Messaging.Message message);
abstract member CanRead : System.Messaging.Message -> bool
Public Function CanRead (message As Message) As Boolean
參數
傳回
如果格式子能夠將訊息還原序列化,則為 true
,否則為 false
。true
if the formatter can deserialize the message; otherwise, false
.