Click or drag to resize
IReceiverMessage Interface
Defines the interface for a received message.

Namespace: Rock.Messaging
Assembly: Rock.Messaging (in Rock.Messaging.dll) Version: 0.9.3
Syntax
public interface IReceiverMessage

The IReceiverMessage type exposes the following members.

Methods
  NameDescription
Public methodAcknowledge
Acknowledges the message.
Public methodGetBinaryValue
Gets the binary value of the message. If the implemenation "speaks" string, encoding is used to convert the string message to a byte array. If encoding is null, the string data will be converted using base 64 encoding.
Public methodGetHeaderValue
Gets a header value by key. If the implementation "speaks" binary, encoding is used to convert the binary header to a string. If encoding is null, the binary header will be converted using base 64 encoding.
Public methodGetStringValue
Gets the string value of the message. If the implemenation "speaks" binary, encoding is used to convert the binary message to a string. If encoding is null, the binary data will be converted using base 64 encoding.
Top
Extension Methods
  NameDescription
Public Extension MethodGetBinaryValue
Gets the binary value of the message. If the implemenation "speaks" string, UTF8 is used to convert the string message to a byte array.
(Defined by ReceiverMessageExtensions.)
Public Extension MethodGetHeaderValue
Gets a header value by key. If the implementation "speaks" binary, UTF8 is used to convert the binary header to a string.
(Defined by ReceiverMessageExtensions.)
Public Extension MethodGetStringValue
Gets the string value of the message. If the implemenation "speaks" binary, UTF8 is used to convert the binary message to a string.
(Defined by ReceiverMessageExtensions.)
Top
See Also