Share via


CreateCallOptions Constructor

Definition

Initializes a new instance of CreateCallOptions.

public CreateCallOptions (Uri callbackUri, System.Collections.Generic.IEnumerable<Azure.Communication.CallingServer.MediaType> requestedMediaTypes, System.Collections.Generic.IEnumerable<Azure.Communication.CallingServer.EventSubscriptionType> requestedCallEvents);
new Azure.Communication.CallingServer.CreateCallOptions : Uri * seq<Azure.Communication.CallingServer.MediaType> * seq<Azure.Communication.CallingServer.EventSubscriptionType> -> Azure.Communication.CallingServer.CreateCallOptions
Public Sub New (callbackUri As Uri, requestedMediaTypes As IEnumerable(Of MediaType), requestedCallEvents As IEnumerable(Of EventSubscriptionType))

Parameters

callbackUri
Uri

The callback URI.

requestedMediaTypes
IEnumerable<MediaType>

The requested media types.

requestedCallEvents
IEnumerable<EventSubscriptionType>

The requested call events to subscribe to.

Exceptions

callbackUri, requestedMediaTypes, or requestedCallEvents is null.

Applies to