Table of Contents

Class IPTosMessage

Namespace
Gio
Assembly
Gio-2.0.dll
public class IPTosMessage : SocketControlMessage, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
IPTosMessage
Implements
Inherited Members

Constructors

IPTosMessage(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public IPTosMessage(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

IPTosMessage(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected IPTosMessage(CreationData data)

Parameters

data CreationData

IPTosMessage(IPTosMessageHandle)

protected IPTosMessage(IPTosMessageHandle handle)

Parameters

handle IPTosMessageHandle

Methods

GetDscp()

[Version("2.88")]
public byte GetDscp()

Returns

byte

GetEcn()

[Version("2.88")]
public EcnCodePoint GetEcn()

Returns

EcnCodePoint

GetGType()

public static Type GetGType()

Returns

Type

New(byte, EcnCodePoint)

[Version("2.88")]
public static IPTosMessage New(byte dscp, EcnCodePoint ecn)

Parameters

dscp byte
ecn EcnCodePoint

Returns

IPTosMessage

NewFromPointer(nint, bool)

Creates a new managed IPTosMessage instance for a given pointer.

public static IPTosMessage NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

IPTosMessage

NewWithProperties(ConstructArgument[])

Creates a new IPTosMessage and sets the properties specified by the construct arguments.

public static IPTosMessage NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

IPTosMessage