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
Public Function CanRead (message As Message) As Boolean

Parameters

message
Message

The Message to inspect.

Returns

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

Applies to

See also