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
constructArgumentsConstructArgument[]
IPTosMessage(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected IPTosMessage(CreationData data)
Parameters
dataCreationData
IPTosMessage(IPTosMessageHandle)
protected IPTosMessage(IPTosMessageHandle handle)
Parameters
handleIPTosMessageHandle
Methods
GetDscp()
[Version("2.88")]
public byte GetDscp()
Returns
GetEcn()
[Version("2.88")]
public EcnCodePoint GetEcn()
Returns
GetGType()
public static Type GetGType()
Returns
New(byte, EcnCodePoint)
[Version("2.88")]
public static IPTosMessage New(byte dscp, EcnCodePoint ecn)
Parameters
dscpbyteecnEcnCodePoint
Returns
NewFromPointer(nint, bool)
Creates a new managed IPTosMessage instance for a given pointer.
public static IPTosMessage NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new IPTosMessage and sets the properties specified by the construct arguments.
public static IPTosMessage NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.