PubSubMessageBuilder Constructor(String,PubSubHeaderData,PubSubStatus,Int32)
- Last UpdatedApr 08, 2026
- 1 minute read
Initializes a new instance of PubSubMessageBuilder class with the specified parameters.
public PubSubMessageBuilder(
string topic,
PubSubHeaderData headerData,
PubSubStatus status,
int capacity
)
public:
PubSubMessageBuilder(
String^ topic,
PubSubHeaderData headerData,
PubSubStatus status,
int capacity
)
Parameters
- topic
- The PubSub topic associated with this message builder.
- headerData
- The PubSub header data associated with this message builder.
- status
- The PubSub connection status associated with messages created by this message builder.
- capacity
- The initial capacity for the underlying PubSub message buffer.