Show / Hide Table of Contents

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 Source

CreateCallAsync()

Create a new call object.

Declaration
Task<ICall> CreateCallAsync()
Returns
Type Description
System.Threading.Tasks.Task<ICall>

The new call object.

View Source

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

callLegId or callLink is null.

  • View Source
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX