ActiveXMessageFormatter.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.
Determines whether the formatter can deserialize the contents of the message.
public:
virtual bool CanRead(System::Messaging::Message ^ message);
public bool CanRead (System.Messaging.Message message);
abstract member CanRead : System.Messaging.Message -> bool
override this.CanRead : System.Messaging.Message -> bool
Public Function CanRead (message As Message) As Boolean
Parameters
Returns
true
if the ActiveXMessageFormatter can deserialize the message; otherwise, false
.
Implements
Exceptions
The message
parameter is null
.
Remarks
CanRead returns false
if the message body is not a primitive that the Message Queuing ActiveX control can deserialize or if it does not implement the IPersistStream
interface.
Applies to
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.