'Declaration
Public Function New( _ ByVal body As Object, _ ByVal formatter As IMessageFormatter _ )
'Usage
Dim body As Object Dim formatter As IMessageFormatter Dim instance As New Message(body, formatter)
public Message( object body, IMessageFormatter formatter )
public: Message( Object^ body, IMessageFormatter^ formatter )
Parameters
- body
- The object to be serialized into the body of the message.
- formatter
- A IMessageFormatter that specifies the formatter with which to serialize the message body.