你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
CallAutomationModelFactory.ResultInformation 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.
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 of the current result. This can be helpful to Call Automation team to troubleshoot the issue if this result was unexpected.
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.