Interface ICallService
Class that provides all the facilities for calling in the SDK.
Namespace: Microsoft.Bot.Builder.Enterprise.Core
Assembly: Microsoft.Bot.Builder.Enterprise.dll
Syntax
public interface ICallService
Methods
View SourceCreateCallAsync()
Create a new call object.
Declaration
Task<ICall> CreateCallAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ICall> | The new call object. |
CreateCallAsync(String, Uri, String)
Create a call object that exists on the server.
Declaration
Task<ICall> CreateCallAsync(string callLegId, Uri callLink, string correlationId = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | callLegId | The call leg id for the call. Required. |
System.Uri | callLink | The call link to interact with the call. Required. |
System.String | correlationId | The correlation Id. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<ICall> | The new call object. |
Exceptions
Type | Condition |
---|---|
CallLegIdAlreadyExistsException | Thrown when the call leg id of the call already exists |
System.ArgumentNullException |
|