你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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