Share via


This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Request.CreateResponse (Int32)

The CreateResponse method creates a Response_OCS_ServerApi object with the supplied status code for this specific Request_OCS_ServerApi.

Syntax

[C#]

public Response CreateResponse(
  Int32 statusCode
);

Syntax

[Visual Basic .NET]

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 Office Communications Server 2007.

Namespace:Microsoft.Rtc.Sip Namespace

Assembly: ServerAgent (in ServerAgent.dll)

Concepts

Request_OCS_ServerApi

Request.CreateResponse ()

Response_OCS_ServerApi