Compartilhar via


ServiceBusMessage Class

ServiceBusMessage.

Inheritance
msrest.serialization.Model
ServiceBusMessage

Constructor

ServiceBusMessage(*, authentication: ServiceBusAuthentication | None = None, brokered_message_properties: ServiceBusBrokeredMessageProperties | None = None, custom_message_properties: Dict[str, str] | None = None, message: str | None = None, namespace: str | None = None, transport_type: str | ServiceBusTransportType | None = None, **kwargs)

Parameters

Name Description
authentication
Required

Gets or sets the Service Bus authentication.

brokered_message_properties
Required

Gets or sets the brokered message properties.

custom_message_properties
Required

Gets or sets the custom message properties.

message
Required
str

Gets or sets the message.

namespace
Required
str

Gets or sets the namespace.

transport_type
Required

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

Keyword-Only Parameters

Name Description
authentication
Required
brokered_message_properties
Required
custom_message_properties
Required
message
Required
namespace
Required
transport_type
Required