Skip to content

Commit 9ce6b8f

Browse files
authored
Added exception notation to ConnectAsync method (#295)
1 parent b33f682 commit 9ce6b8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Temporalio/Client/TemporalConnection.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ public string? ApiKey
145145
/// </summary>
146146
/// <param name="options">Options for connecting.</param>
147147
/// <returns>The established connection.</returns>
148+
/// <exception cref="System.InvalidOperationException">Thrown when cannot successfully connect.</exception>
148149
public static async Task<TemporalConnection> ConnectAsync(TemporalConnectionOptions options)
149150
{
150151
var conn = new TemporalConnection(options, lazy: false);

0 commit comments

Comments
 (0)