MessageFactoryGenerateResponse Method (Request, Int32, String, DialogID, SIPAddress) |
8.2.6 UAS Behavior / Generating the Response
Ha a dialogID nem null, akkor a valasz To tag-jeben a dialogID LocalTag-je lesz, egyebkent general
uj To tag-et.
Namespace: Ozeki.VoIPAssembly: OzekiSDK (in OzekiSDK.dll) Version: 1.8.12.0 (1.8.12)
Syntax public Response GenerateResponse(
Request req,
int code,
string reasonPhrase,
DialogID dialogID,
SIPAddress contact = null
)
Public Function GenerateResponse (
req As Request,
code As Integer,
reasonPhrase As String,
dialogID As DialogID,
Optional contact As SIPAddress = Nothing
) As Response
public:
Response^ GenerateResponse(
Request^ req,
int code,
String^ reasonPhrase,
DialogID^ dialogID,
SIPAddress^ contact = nullptr
)
member GenerateResponse :
req : Request *
code : int *
reasonPhrase : string *
dialogID : DialogID *
?contact : SIPAddress
(* Defaults:
let _contact = defaultArg contact null
*)
-> Response
Parameters
- req
- Type: Ozeki.VoIPRequest
- code
- Type: SystemInt32
- reasonPhrase
- Type: SystemString
- dialogID
- Type: Ozeki.VoIPDialogID
- contact (Optional)
- Type: Ozeki.VoIPSIPAddress
Return Value
Type:
ResponseSee Also