ServiceBusMessage Class

ServiceBusMessage.

Inheritance
ServiceBusMessage

Constructor

ServiceBusMessage(*, authentication=None, brokered_message_properties=None, custom_message_properties=None, message: Optional[str] = None, namespace: Optional[str] = None, transport_type=None, **kwargs)

Parameters

authentication
ServiceBusAuthentication
Required

Gets or sets the Service Bus authentication.

brokered_message_properties
ServiceBusBrokeredMessageProperties
Required

Gets or sets the brokered message properties.

custom_message_properties
dict[str, str]
Required

Gets or sets the custom message properties.

message
str
Required

Gets or sets the message.

namespace
str
Required

Gets or sets the namespace.

transport_type
str or ServiceBusTransportType
Required

Gets or sets the transport type. Possible values include: 'NotSpecified', 'NetMessaging', 'AMQP'