Partager via


Response

Applies to: Lync 2013 | Lync Server 2013

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.

See also

Concepts

MSPL built-in classes

MSPL scripting reference