System.Messaging Reference (Document! X Sample)
System.Messaging Namespace / IMessageFormatter Interface / Read Method
The Message to deserialize.



In This Topic
    Read Method (IMessageFormatter)
    In This Topic
    When implemented in a class, reads the contents from the given message and creates an object that contains data from the message.
    Syntax
    'Declaration
     
    
    Function Read( _
       ByVal message As Message _
    ) As Object
    'Usage
     
    
    Dim instance As IMessageFormatter
    Dim message As Message
    Dim value As Object
     
    value = instance.Read(message)

    Parameters

    message
    The Message to deserialize.

    Return Value

    The deserialized message.
    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