Share via


Request.CreateResponse (int32)

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 Sip Class object with the supplied status code for this specific Request Sip Class.

Syntax

 public Response CreateResponse( 
 Int32 statusCode 
 ); 

Syntax

 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 R2.

Namespace:Microsoft.Rtc.Sip

Assembly: ServerAgent (in ServerAgent.dll)

See Also

Concepts

Request Sip Class

Request.CreateResponse ()

Response Sip Class