Response

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.

Response (MSPL)

The Response built-in class defines a SIP response message, and includes the status code, status class, and reason phrase.

Syntax

class Response {
int StatusCode;
StatusClass StatusClass;
string StatusReasonPhrase;
}

Inheritance

This object inherits from Message.

Fields

The Response class defines the following fields.

Field

Description

StatusCode

Data type: int

Contains the specific SIP status code for the response (such as 200 or 404).

StatusClass

Data type: StatusClass

Contains the specific status class of the response (such as StatusClass._2xx).

StatusReasonPhrase

Data type: string

Contains a specific reason phrase describing the response, represented as a Unicode string.