Share via


CallingServerModelFactory.ResultInfo(Int32, Int32, String) Method

Definition

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