Skip to content

Commit ec2215c

Browse files
committed
change ConnectAync to ConnectCallAsync
1 parent b6186f0 commit ec2215c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/communication-services/how-tos/call-automation/actions-for-call-control.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ To connect to any 1:1 or group call, use the ServerCallLocator. If you started a
175175
```csharp
176176
Uri callbackUri = new Uri("https://<myendpoint>/Events"); //the callback endpoint where you want to receive subsequent events
177177
CallLocator serverCallLocator = new ServerCallLocator("<ServerCallId>");
178-
ConnectCallResult response = await client.ConnectAsync(serverCallLocator, callbackUri);
178+
ConnectCallResult response = await client.ConnectCallAsync(serverCallLocator, callbackUri);
179179
```
180180

181181
### [Java](#tab/java)
@@ -210,7 +210,7 @@ To connect to a Rooms call, use RoomCallLocator which takes RoomId.
210210
```csharp
211211
Uri callbackUri = new Uri("https://<myendpoint>/Events"); //the callback endpoint where you want to receive subsequent events
212212
CallLocator roomCallLocator = new RoomCallLocator("<RoomId>");
213-
ConnectCallResult response = await client.ConnectAsync(roomCallLocator, callbackUri);
213+
ConnectCallResult response = await client.ConnectCallAsync(roomCallLocator, callbackUri);
214214
```
215215

216216
### [Java](#tab/java)

0 commit comments

Comments
 (0)