/// <summary> /// Initializes a new instance of the ServiceBusMessage class. /// </summary> /// <param name="authentication">Gets or sets the Service Bus /// authentication.</param> /// <param name="brokeredMessageProperties">Gets or sets the brokered /// message properties.</param> /// <param name="customMessageProperties">Gets or sets the custom /// message properties.</param> /// <param name="message">Gets or sets the message.</param> /// <param name="namespaceProperty">Gets or sets the namespace.</param> /// <param name="transportType">Gets or sets the transport type. /// Possible values include: 'NotSpecified', 'NetMessaging', /// 'AMQP'</param> public ServiceBusMessage(ServiceBusAuthentication authentication = default(ServiceBusAuthentication), ServiceBusBrokeredMessageProperties brokeredMessageProperties = default(ServiceBusBrokeredMessageProperties), IDictionary <string, string> customMessageProperties = default(IDictionary <string, string>), string message = default(string), string namespaceProperty = default(string), ServiceBusTransportType?transportType = default(ServiceBusTransportType?)) { Authentication = authentication; BrokeredMessageProperties = brokeredMessageProperties; CustomMessageProperties = customMessageProperties; Message = message; NamespaceProperty = namespaceProperty; TransportType = transportType; CustomInit(); }
/// <summary> /// Initializes a new instance of the ServiceBusQueueMessage class. /// </summary> /// <param name="authentication">Gets or sets the Service Bus /// authentication.</param> /// <param name="brokeredMessageProperties">Gets or sets the brokered /// message properties.</param> /// <param name="customMessageProperties">Gets or sets the custom /// message properties.</param> /// <param name="message">Gets or sets the message.</param> /// <param name="namespaceProperty">Gets or sets the namespace.</param> /// <param name="transportType">Gets or sets the transport type. /// Possible values include: 'NotSpecified', 'NetMessaging', /// 'AMQP'</param> /// <param name="queueName">Gets or sets the queue name.</param> public ServiceBusQueueMessage(ServiceBusAuthentication authentication = default(ServiceBusAuthentication), ServiceBusBrokeredMessageProperties brokeredMessageProperties = default(ServiceBusBrokeredMessageProperties), IDictionary <string, string> customMessageProperties = default(IDictionary <string, string>), string message = default(string), string namespaceProperty = default(string), ServiceBusTransportType?transportType = default(ServiceBusTransportType?), string queueName = default(string)) : base(authentication, brokeredMessageProperties, customMessageProperties, message, namespaceProperty, transportType) { QueueName = queueName; CustomInit(); }