Class AzureServiceBusMappingContext
Azure Service Bus mapping context implementation.
public sealed class AzureServiceBusMappingContext : IAzureServiceBusMappingContext
- Inheritance
-
AzureServiceBusMappingContext
- Implements
- Inherited Members
- Extension Methods
Properties
PartitionKey
Gets or sets the partition key.
public string? PartitionKey { get; set; }
Property Value
Properties
Gets all configured properties.
public IReadOnlyDictionary<string, object> Properties { get; }
Property Value
ReplyToSessionId
Gets or sets the reply-to session ID.
public string? ReplyToSessionId { get; set; }
Property Value
ScheduledEnqueueTime
Gets or sets the scheduled enqueue time.
public DateTimeOffset? ScheduledEnqueueTime { get; set; }
Property Value
SessionId
Gets or sets the session ID for session-enabled entities.
public string? SessionId { get; set; }
Property Value
TimeToLive
Gets or sets the time to live for the message.
public TimeSpan? TimeToLive { get; set; }
Property Value
TopicOrQueueName
Gets or sets the topic or queue name.
public string? TopicOrQueueName { get; set; }
Property Value
Methods
ApplyTo(TransportMessageContext)
Applies this configuration to a transport message context.
public void ApplyTo(TransportMessageContext context)
Parameters
contextTransportMessageContextThe context to apply configuration to.
SetProperty(string, object)
Sets a custom property on the message.
public void SetProperty(string key, object value)