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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET