IMessageFormatter.CanRead(Message) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Parameters
Returns
true
if the formatter can deserialize the message; otherwise, false
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.