CallingServerModelFactory.ResultInfo(Int32, Int32, String) 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 ResultInfo.
public static Azure.Communication.CallingServer.ResultInfo ResultInfo (int code = 0, int subcode = 0, string message = default);
static member ResultInfo : int * int * string -> Azure.Communication.CallingServer.ResultInfo
Public Shared Function ResultInfo (Optional code As Integer = 0, Optional subcode As Integer = 0, Optional message As String = Nothing) As ResultInfo
Parameters
- code
- Int32
The result code associated with the operation.
- subcode
- Int32
The subcode that further classifies the result.
- message
- String
The message is a detail explanation of subcode.
Returns
A new ResultInfo instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET