Class STUNErrorCodeAttribute
Inheritance
System.Object
STUNErrorCodeAttribute
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)
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
Field Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
ErrorNumber
Declaration
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
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
Extension Methods