The NMS Class Library (.Net Messaging Library)

MarshallAware.SetMarshalledForm Method 

void SetMarshalledForm(
   OpenWireFormat wireFormat,
   byte[] data
);

See Also

MarshallAware Interface | ActiveMQ.Commands Namespace