CanRead Method (BinaryMessageFormatter)
Determines whether the formatter can deserialize the contents of the message.
Syntax
'Usage Dim instance As BinaryMessageFormatter Dim message As Message Dim value As Boolean value = instance.CanRead(message)
Parameters
- message
- The Message to inspect.
Return Value
true if the binary message formatter can deserialize the message; otherwise, false.
Exceptions
Exception | Description |
---|---|
System.ArgumentNullException | The message parameter is null. |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also