Skip to content

TopicProps

Properties for defining a Topic.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-mns-topic

Initializer

using AlibabaCloud.SDK.ROS.CDK.Mns;
new TopicProps {
    object TopicName,
    object LoggingEnabled = null,
    object MaximumMessageSize = null
};

Properties

Name Type Description
TopicName object Property topicName: Topic name.
LoggingEnabled object Property loggingEnabled: Whether to enable log management.
MaximumMessageSize object Property maximumMessageSize: Maximum body length of a message sent to the topic, in the unit of bytes.

TopicNameRequired

public object TopicName { get; set; }
  • Type: object

Property topicName: Topic name.


LoggingEnabledOptional

public object LoggingEnabled { get; set; }
  • Type: object

Property loggingEnabled: Whether to enable log management.

"true" indicates that log management is enabled, whereas "false" indicates that log management is disabled. The default value is false


MaximumMessageSizeOptional

public object MaximumMessageSize { get; set; }
  • Type: object

Property maximumMessageSize: Maximum body length of a message sent to the topic, in the unit of bytes.

An integer in the range of 1,024 (1 KB) to 65, 536 (64 KB); default value: 65,536 (64 KB).