Delen via


CallAutomationModelFactory.ResultInformation Method

Definition

Initializes a new instance of ResultInformation.

public static Azure.Communication.CallAutomation.ResultInformation ResultInformation (int? code = default, int? subCode = default, string message = default);
static member ResultInformation : Nullable<int> * Nullable<int> * string -> Azure.Communication.CallAutomation.ResultInformation
Public Shared Function ResultInformation (Optional code As Nullable(Of Integer) = Nothing, Optional subCode As Nullable(Of Integer) = Nothing, Optional message As String = Nothing) As ResultInformation

Parameters

code
Nullable<Int32>

Code of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected.

subCode
Nullable<Int32>

Subcode of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected.

message
String

Detail message that describes the current result.

Returns

A new ResultInformation instance for mocking.

Applies to