# Send

Required Frends version: 5.5+

Required .NET version: 6.0

Compatible Agents: Crossplatform

Source code:

{% tabs %}
{% tab title="Parameter: Input" %}

| Name                           | Description                                                                                                                                         |
| ------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| Messages : `EventHubMessage[]` | <p>Messages to be sent to Event Hub</p><p><br>Default: <code>-</code><br>Example: <code>\[ { Message = "Hello" }, { Message = "World } ]</code></p> |
| 🗝ConnectionString : `String`  | <p>Event Hub connection string.</p><p><br>Default: <code>-</code><br>Example: <code>my-event-hub</code></p>                                         |
| {% endtab %}                   |                                                                                                                                                     |

{% tab title="Parameter: Options" %}

| Name                                 | Description                                                                                                                                                                                                                                                                  |
| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| MaximumRetries : `Int32`             | <p>The maximum number of retry attempts. Must be a value between 0 and 100.</p><p><br>Default: <code>3</code><br>Example: <code>3</code></p>                                                                                                                                 |
| MaximumDelayInMilliseconds : `Int32` | <p>The delay between retry attempts. Must be a value between 1 millisecond and 5 minutes inclusive.</p><p><br>Default: <code>800</code><br>Example: <code>800</code></p>                                                                                                     |
| DelayInMilliseconds : `Int32`        | <p>The maximum delay between retry attempts (e.g. for exponential backoff).</p><p><br>Default: <code>60000</code><br>Example: <code>5000</code></p>                                                                                                                          |
| TryTimeoutInMilliseconds : `Int32`   | <p>The maximum duration to wait for completion of a single attempt.</p><p><br>Default: <code>60000</code><br>Example: <code>5000</code></p>                                                                                                                                  |
| RetryMode : `RetryMode`              | <p>The retry mode to use.</p><p>Possible values:</p><ul><li><code>Fixed</code>:</li></ul><p>The retry mode to use.</p><ul><li><code>Exponential</code>:</li></ul><p>The retry mode to use.</p><p><br>Default: <code>1</code><br>Example: <code>Exponential</code></p>        |
| TransportType : `TransportType`      | <p>The transport type to use.</p><p>Possible values:</p><ul><li><code>AmqpTcp</code>:</li></ul><p>The transport type to use.</p><ul><li><code>AmqpWebSockets</code>:</li></ul><p>The transport type to use.</p><p><br>Default: <code>-</code><br>Example: <code>-</code></p> |
| {% endtab %}                         |                                                                                                                                                                                                                                                                              |

{% tab title="Result: Result" %}

| Name                | Description                                                                                                             |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| Success : `Boolean` | <p>Indicates whether the messages were sent successfully.<br>Example: <code>true</code></p>                             |
| Message : `String`  | <p>Message indicating the result of the operation.<br>Example: <code>A batch of 5 events has been published.</code></p> |
| {% endtab %}        |                                                                                                                         |
| {% endtabs %}       |                                                                                                                         |
