diff --git a/sdk/servicebus/Azure.Messaging.ServiceBus/src/Primitives/ServiceBusMessage.cs b/sdk/servicebus/Azure.Messaging.ServiceBus/src/Primitives/ServiceBusMessage.cs old mode 100644 new mode 100755 index 4c2c08ec67387..9b6bfbb70c9d7 --- a/sdk/servicebus/Azure.Messaging.ServiceBus/src/Primitives/ServiceBusMessage.cs +++ b/sdk/servicebus/Azure.Messaging.ServiceBus/src/Primitives/ServiceBusMessage.cs @@ -52,7 +52,7 @@ public ServiceBusMessage(ReadOnlyMemory body) /// Creates a new message from the specified instance. /// /// The payload of the message. - public ServiceBusMessage(BinaryData body) : this (body?.ToMemory() ?? default) + public ServiceBusMessage(BinaryData body) : this(body?.ToMemory() ?? default) { } @@ -148,12 +148,12 @@ public BinaryData Body /// Gets or sets the MessageId to identify the message. /// /// - /// The message identifier is an application-defined value that uniquely identifies the - /// message and its payload. The identifier is a free-form string and can reflect a GUID - /// or an identifier derived from the application context. If enabled, the - /// duplicate detection - /// feature identifies and removes second and further submissions of messages with the - /// same MessageId. + /// The message identifier is an application-defined value that uniquely identifies the + /// message and its payload. The identifier is a free-form string and can reflect a GUID + /// or an identifier derived from the application context. If enabled, the + /// duplicate detection + /// feature identifies and removes second and further submissions of messages with the + /// same MessageId. /// public string MessageId { @@ -170,10 +170,10 @@ public string MessageId /// Gets or sets a partition key for sending a message to a partitioned entity. /// The partition key. Maximum length is 128 characters. /// - /// For partitioned entities, - /// setting this value enables assigning related messages to the same internal partition, so that submission sequence - /// order is correctly recorded. The partition is chosen by a hash function over this value and cannot be chosen - /// directly. For session-aware entities, the property overrides this value. + /// For partitioned entities, + /// setting this value enables assigning related messages to the same internal partition, so that submission sequence + /// order is correctly recorded. The partition is chosen by a hash function over this value and cannot be chosen + /// directly. For session-aware entities, the property overrides this value. /// public string PartitionKey { @@ -195,10 +195,10 @@ public string PartitionKey /// Gets or sets a partition key for sending a message into an entity via a partitioned transfer queue. /// The partition key. Maximum length is 128 characters. /// - /// If a message is sent via a transfer queue in the scope of a transaction, this value selects the - /// transfer queue partition: This is functionally equivalent to and ensures that - /// messages are kept together and in order as they are transferred. - /// See Transfers and Send Via. + /// If a message is sent via a transfer queue in the scope of a transaction, this value selects the + /// transfer queue partition: This is functionally equivalent to and ensures that + /// messages are kept together and in order as they are transferred. + /// See Transfers and Send Via. /// internal string TransactionPartitionKey { @@ -216,11 +216,11 @@ internal string TransactionPartitionKey /// Gets or sets the session identifier for a session-aware entity. /// The session identifier. Maximum length is 128 characters. /// - /// For session-aware entities, this application-defined value specifies the session - /// affiliation of the message. Messages with the same session identifier are subject - /// to summary locking and enable exact in-order processing and demultiplexing. - /// For session-unaware entities, this value is ignored. - /// See Message Sessions. + /// For session-aware entities, this application-defined value specifies the session + /// affiliation of the message. Messages with the same session identifier are subject + /// to summary locking and enable exact in-order processing and demultiplexing. + /// For session-unaware entities, this value is ignored. + /// See Message Sessions. /// public string SessionId { @@ -240,9 +240,9 @@ public string SessionId /// Gets or sets a session identifier augmenting the address. /// Session identifier. Maximum length is 128 characters. /// - /// This value augments the ReplyTo information and specifies which SessionId should be set - /// for the reply when sent to the reply entity. - /// See Message Routing and Correlation + /// This value augments the ReplyTo information and specifies which SessionId should be set + /// for the reply when sent to the reply entity. + /// See Message Routing and Correlation /// public string ReplyToSessionId { @@ -260,11 +260,11 @@ public string ReplyToSessionId /// /// The message’s time to live value. /// - /// This value is the relative duration after which the message expires. - /// When not set explicitly, the assumed value is the DefaultTimeToLive for the respective queue or topic. - /// A message-level value cannot be longer than the entity's DefaultTimeToLive - /// setting and it is silently adjusted if it does. - /// See Expiration. + /// This value is the relative duration after which the message expires. + /// When not set explicitly, the assumed value is the DefaultTimeToLive for the respective queue or topic. + /// A message-level value cannot be longer than the entity's DefaultTimeToLive + /// setting and it is silently adjusted if it does. + /// See Expiration. /// public TimeSpan TimeToLive { @@ -282,9 +282,9 @@ public TimeSpan TimeToLive /// Gets or sets the a correlation identifier. /// Correlation identifier. /// - /// Allows an application to specify a context for the message for the purposes of correlation, - /// for example reflecting the MessageId of a message that is being replied to. - /// See Message Routing and Correlation. + /// Allows an application to specify a context for the message for the purposes of correlation, + /// for example reflecting the MessageId of a message that is being replied to. + /// See Message Routing and Correlation. /// public string CorrelationId { @@ -301,8 +301,8 @@ public string CorrelationId /// Gets or sets an application specific subject. /// The application specific subject. /// - /// This property enables the application to indicate the purpose of the message to the receiver in a standardized - /// fashion, similar to an email subject line. The mapped AMQP property is "subject". + /// This property enables the application to indicate the purpose of the message to the receiver in a standardized + /// fashion, similar to an email subject line. The mapped AMQP property is "subject". /// public string Subject { @@ -319,10 +319,10 @@ public string Subject /// Gets or sets the "to" address. /// The "to" address. /// - /// This property is reserved for future use in routing scenarios and presently ignored by the broker itself. - /// Applications can use this value in rule-driven - /// auto-forward chaining scenarios to indicate the - /// intended logical destination of the message. + /// This property is reserved for future use in routing scenarios and presently ignored by the broker itself. + /// Applications can use this value in rule-driven + /// auto-forward chaining scenarios to indicate the + /// intended logical destination of the message. /// public string To { @@ -339,8 +339,8 @@ public string To /// Gets or sets the content type descriptor. /// RFC2045 Content-Type descriptor. /// - /// Optionally describes the payload of the message, with a descriptor following the format of - /// RFC2045, Section 5, for example "application/json". + /// Optionally describes the payload of the message, with a descriptor following the format of + /// RFC2045, Section 5, for example "application/json". /// public string ContentType { @@ -357,10 +357,10 @@ public string ContentType /// Gets or sets the address of an entity to send replies to. /// The reply entity address. /// - /// This optional and application-defined value is a standard way to express a reply path - /// to the receiver of the message. When a sender expects a reply, it sets the value to the - /// absolute or relative path of the queue or topic it expects the reply to be sent to. - /// See Message Routing and Correlation. + /// This optional and application-defined value is a standard way to express a reply path + /// to the receiver of the message. When a sender expects a reply, it sets the value to the + /// absolute or relative path of the queue or topic it expects the reply to be sent to. + /// See Message Routing and Correlation. /// public string ReplyTo { @@ -375,16 +375,16 @@ public string ReplyTo } /// - /// Gets or sets the date and time in UTC at which the message will be enqueued. This - /// property returns the time in UTC; when setting the property, the supplied DateTime value must also be in UTC. + /// Gets or sets the date and time in UTC at which the message will be enqueued. This + /// property returns the time in UTC; when setting the property, the supplied DateTime value must also be in UTC. /// /// - /// The scheduled enqueue time in UTC. This value is for delayed message sending. - /// It is utilized to delay messages sending to a specific time in the future. + /// The scheduled enqueue time in UTC. This value is for delayed message sending. + /// It is utilized to delay messages sending to a specific time in the future. /// /// - /// Message enqueuing time does not mean that the message will be sent at the same time. It will get enqueued, but the actual sending time - /// depends on the queue's workload and its state. + /// Message enqueuing time does not mean that the message will be sent at the same time. It will get enqueued, but the actual sending time + /// depends on the queue's workload and its state. /// public DateTimeOffset ScheduledEnqueueTime {