CallMedia.HoldAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
HoldAsync(HoldOptions, CancellationToken) |
Hold participant from the call. |
HoldAsync(CommunicationIdentifier, CancellationToken) |
Hold participant from the call. |
HoldAsync(CommunicationIdentifier, PlaySource, CancellationToken) |
Hold participant from the call. |
HoldAsync(HoldOptions, CancellationToken)
- Source:
- CallMedia.cs
Hold participant from the call.
public virtual System.Threading.Tasks.Task<Azure.Response> HoldAsync (Azure.Communication.CallAutomation.HoldOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member HoldAsync : Azure.Communication.CallAutomation.HoldOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.HoldAsync : Azure.Communication.CallAutomation.HoldOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function HoldAsync (options As HoldOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- options
- HoldOptions
The options.
- cancellationToken
- CancellationToken
Returns
Applies to
HoldAsync(CommunicationIdentifier, CancellationToken)
- Source:
- CallMedia.cs
Hold participant from the call.
public virtual System.Threading.Tasks.Task<Azure.Response> HoldAsync (Azure.Communication.CommunicationIdentifier targetParticipant, System.Threading.CancellationToken cancellationToken = default);
abstract member HoldAsync : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.HoldAsync : Azure.Communication.CommunicationIdentifier * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function HoldAsync (targetParticipant As CommunicationIdentifier, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- targetParticipant
- CommunicationIdentifier
The targetParticipant.
- cancellationToken
- CancellationToken
Returns
Applies to
HoldAsync(CommunicationIdentifier, PlaySource, CancellationToken)
- Source:
- CallMedia.cs
Hold participant from the call.
public virtual System.Threading.Tasks.Task<Azure.Response> HoldAsync (Azure.Communication.CommunicationIdentifier targetParticipant, Azure.Communication.CallAutomation.PlaySource playSource, System.Threading.CancellationToken cancellationToken = default);
abstract member HoldAsync : Azure.Communication.CommunicationIdentifier * Azure.Communication.CallAutomation.PlaySource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.HoldAsync : Azure.Communication.CommunicationIdentifier * Azure.Communication.CallAutomation.PlaySource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function HoldAsync (targetParticipant As CommunicationIdentifier, playSource As PlaySource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)
Parameters
- targetParticipant
- CommunicationIdentifier
The targetParticipant.
- playSource
- PlaySource
The playsource.
- cancellationToken
- CancellationToken
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET