IMessageFormatter.CanRead(Message) IMessageFormatter.CanRead(Message) IMessageFormatter.CanRead(Message) Method

Definition

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

Parameters

message
Message Message Message

The Message to inspect.

Returns

true if the formatter can deserialize the message; otherwise, false.

Applies to

See also