Show / Hide Table of Contents

Class STUNErrorCodeAttribute

Inheritance
System.Object
STUNAttribute
STUNErrorCodeAttribute
Inherited Members
STUNAttribute.STUNATTRIBUTE_HEADER_LENGTH
STUNAttribute.AttributeType
STUNAttribute.Value
STUNAttribute.PaddedLength
STUNAttribute.ParseMessageAttributes(Byte[], Int32, Int32)
STUNAttribute.ParseMessageAttributes(Byte[], Int32, Int32, STUNHeader)
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: SIPSorcery.Net
Assembly: SIPSorcery.dll
Syntax
public class STUNErrorCodeAttribute : STUNAttribute

Constructors

| Improve this Doc View Source

STUNErrorCodeAttribute(Byte[])

Declaration
public STUNErrorCodeAttribute(byte[] attributeValue)
Parameters
Type Name Description
System.Byte[] attributeValue
| Improve this Doc View Source

STUNErrorCodeAttribute(Int32, String)

Declaration
public STUNErrorCodeAttribute(int errorCode, string reasonPhrase)
Parameters
Type Name Description
System.Int32 errorCode
System.String reasonPhrase

Fields

| Improve this Doc View Source

ErrorClass

Declaration
public byte ErrorClass
Field Value
Type Description
System.Byte
| Improve this Doc View Source

ErrorNumber

Declaration
public byte ErrorNumber
Field Value
Type Description
System.Byte
| Improve this Doc View Source

ReasonPhrase

Declaration
public string ReasonPhrase
Field Value
Type Description
System.String

Properties

| Improve this Doc View Source

ErrorCode

Declaration
public int ErrorCode { get; }
Property Value
Type Description
System.Int32

Methods

| Improve this Doc View Source

ToByteBuffer(Byte[], Int32)

Declaration
public override int ToByteBuffer(byte[] buffer, int startIndex)
Parameters
Type Name Description
System.Byte[] buffer
System.Int32 startIndex
Returns
Type Description
System.Int32
Overrides
STUNAttribute.ToByteBuffer(Byte[], Int32)
| Improve this Doc View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
STUNAttribute.ToString()

Extension Methods

JSONWriter.ToJson(Object)
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX