/// <summary> /// Creates a new <see cref="MulticastTransportOperation" /> instance. /// </summary> public MulticastTransportOperation(OutgoingMessage message, Type messageType, DispatchProperties properties, DispatchConsistency requiredDispatchConsistency = DispatchConsistency.Default) { Message = message; MessageType = messageType; Properties = properties; RequiredDispatchConsistency = requiredDispatchConsistency; }
/// <summary> /// Creates a new transport operation. /// </summary> /// <param name="message">The message to dispatch.</param> /// <param name="addressTag">The address to use when routing this message.</param> /// <param name="requiredDispatchConsistency">The required consistency level for the dispatch operation.</param> /// <param name="properties">Delivery properties of the message.</param> public TransportOperation(OutgoingMessage message, AddressTag addressTag, DispatchProperties properties = null, DispatchConsistency requiredDispatchConsistency = DispatchConsistency.Default) { Message = message; AddressTag = addressTag; Properties = properties ?? new DispatchProperties(); RequiredDispatchConsistency = requiredDispatchConsistency; }