Back to product page

StatusText property


Holds status text returned to the client.

Type

String.

Syntax

  • C#
  • VB.NET
String StatusText {get; set; };

Property StatusText As String

Remarks

StatusText property describe result of client's request (as set in StatusCode property), sent as first line of response. It has no meaning to the actual person connecting, but in case of errors some clients may provide this text to the client to help him understand what error occurred.

There are typical texts for different status codes. For example, 404 is usually set to Not found, but if you want you can change this value to 'I am sorry but this resource does not exist' or something similar.

Changing this property will cause StatusLine property to be updated, and vice versa.

Platforms

Windows