Udostępnij za pośrednictwem


CallingServerModelFactory.PlayAudioResult Method

Definition

Initializes a new instance of PlayAudioResult.

public static Azure.Communication.CallingServer.PlayAudioResult PlayAudioResult (string operationId = default, Azure.Communication.CallingServer.OperationStatus status = default, string operationContext = default, Azure.Communication.CallingServer.ResultInfo resultInfo = default);
static member PlayAudioResult : string * Azure.Communication.CallingServer.OperationStatus * string * Azure.Communication.CallingServer.ResultInfo -> Azure.Communication.CallingServer.PlayAudioResult
Public Shared Function PlayAudioResult (Optional operationId As String = Nothing, Optional status As OperationStatus = Nothing, Optional operationContext As String = Nothing, Optional resultInfo As ResultInfo = Nothing) As PlayAudioResult

Parameters

operationId
String

The operation id.

status
OperationStatus

The status of the operation.

operationContext
String

The operation context provided by client.

resultInfo
ResultInfo

The result info for the operation.

Returns

A new PlayAudioResult instance for mocking.

Applies to