Request.CreateResponse (Int32)

The CreateResponse method creates a Response Sip Class object with the supplied status code for this specific Request Sip Class.

Syntax

[C#]

  Copy imageCopy Code
public Response CreateResponse(
  Int32 statusCode
);

Syntax

[Visual Basic .NET]

  Copy imageCopy Code
Public Function CreateResponse( _
  ByVal statusCode As Int32 _
) As Response

Parameters

statusCode

Specifies the appropriate status code for the response.

Return Values

Returns a Response object for this specific request.

Remarks

A Response object contains a specific status code that will be sent to the client transaction, indicating the status of the request.

Requirements

Redistributable: Requires Microsoft Lync Server 2010

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also