Class UnknownAttributeError
420 Unknown Attribute. RFC5389. Indicates that the server received a STUN packet containing a comprehension-required attribute that it did not understand. The server MUST put this unknown attribute in the UNKNOWN-ATTRIBUTE attribute of its error response.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch.Stun
Assembly: FM.LiveSwitch.dll
Syntax
public class UnknownAttributeError : Error
Constructors
UnknownAttributeError(UnknownAttributesAttribute)
Initializes a new instance of the UnknownAttributeError class.
Declaration
public UnknownAttributeError(UnknownAttributesAttribute unknownAttributes)
Parameters
Type | Name | Description |
---|---|---|
UnknownAttributesAttribute | unknownAttributes | The unknown attributes attribute. |
UnknownAttributeError(String, UnknownAttributesAttribute)
Initializes a new instance of the UnknownAttributeError class.
Declaration
public UnknownAttributeError(string message, UnknownAttributesAttribute unknownAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
UnknownAttributesAttribute | unknownAttributes | The unknown attributes attribute. |
Properties
UnknownAttributes
Gets or sets the unknown attributes attribute.
Declaration
public UnknownAttributesAttribute UnknownAttributes { get; }
Property Value
Type | Description |
---|---|
UnknownAttributesAttribute |
Methods
GetDescription()
Gets the description for this Error.
Declaration
public override string GetDescription()
Returns
Type | Description |
---|---|
System.String |