Edit

Share via


WarningHeader Class

Definition

Represents the diagnostic information received as Warning header. Warning is a general SIP header, which conveys the warnings from the remote.

public ref class WarningHeader
public class WarningHeader
type WarningHeader = class
Public Class WarningHeader
Inheritance
WarningHeader

Remarks

From rfc 3261,

Warning = "Warning" HCOLON warning-value *(COMMA warning-value) warning-value = warn-code SP warn-agent SP warn-text warn-code = 3DIGIT warn-agent = hostport / pseudonym ; the name or pseudonym of the server adding ; the Warning header, for use in debugging warn-text = quoted-string.

Properties

Agent

Gets the warning agent value that represents the source of this warning.

Code

Gets the warning code value.

Text

Gets the warning text value that represents the reason for this warning.

Methods

GetValue()

Get the value of this warning header.

ToString()

Returns the string representation of warning header that contains only warn code, warn text and warn agent.

Applies to