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.
Overloads
| Name | Description |
|---|---|
| ResultInformation(Nullable<Int32>, Nullable<Int32>, String) |
Initializes a new instance of ResultInformation. |
| ResultInformation(Nullable<Int32>, Nullable<Int32>, String, SipDiagnosticInfo, SipDiagnosticInfo) |
Initializes a new instance of ResultInformation. |
ResultInformation(Nullable<Int32>, Nullable<Int32>, String)
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.
Applies to
ResultInformation(Nullable<Int32>, Nullable<Int32>, String, SipDiagnosticInfo, SipDiagnosticInfo)
Initializes a new instance of ResultInformation.
public static Azure.Communication.CallAutomation.ResultInformation ResultInformation(int? code = default, int? subCode = default, string message = default, Azure.Communication.CallAutomation.SipDiagnosticInfo sipDetails = default, Azure.Communication.CallAutomation.SipDiagnosticInfo q850Details = default);
static member ResultInformation : Nullable<int> * Nullable<int> * string * Azure.Communication.CallAutomation.SipDiagnosticInfo * Azure.Communication.CallAutomation.SipDiagnosticInfo -> 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, Optional sipDetails As SipDiagnosticInfo = Nothing, Optional q850Details As SipDiagnosticInfo = 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.
- sipDetails
- SipDiagnosticInfo
Contains the sip details.
- q850Details
- SipDiagnosticInfo
Contains the q 850 details.
Returns
A new ResultInformation instance for mocking.