AmqpUtilitiesMessagePreview Method |
Returns the first x characters of the payload of an AMQP message, assuming UTF8 encoding
Namespace: CFX.TransportAssembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntaxpublic static string MessagePreview(
Message message,
int count = 200
)
Public Shared Function MessagePreview (
message As Message,
Optional count As Integer = 200
) As String
Parameters
- message Message
- The AMQP message to decode
- count Int32 (Optional)
- The number of characters to return. Defaults to 200
Return Value
StringA string containing the first x characters of the AMQP message payload
See Also