Show / Hide Table of Contents

Class ErrorCode

Inheritance
Object
Attribute
ErrorCode
Inherited Members
Attribute.ToByteArray(Byte[])
Namespace: Libplanet.Stun.Attributes
Assembly: Libplanet.Stun.dll
Syntax
public class ErrorCode : Attribute

Constructors

| Improve this Doc View Source

ErrorCode(Int32, String)

Declaration
public ErrorCode(int code, string reason)
Parameters
Type Name Description
Int32 code
String reason

Properties

| Improve this Doc View Source

Code

Declaration
public int Code { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

Reason

Declaration
public string Reason { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Type

Declaration
public override Attribute.AttributeType Type { get; }
Property Value
Type Description
Attribute.AttributeType
Overrides
Attribute.Type

Methods

| Improve this Doc View Source

EncodePayload(Byte[])

Declaration
protected override byte[] EncodePayload(byte[] transactionId)
Parameters
Type Name Description
Byte[] transactionId
Returns
Type Description
Byte[]
Overrides
Attribute.EncodePayload(Byte[])
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2022 Planetarium