Table of Contents

Class SocketAddressEnumerator

Namespace
Gio
Assembly
Gio-2.0.dll
public class SocketAddressEnumerator : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
SocketAddressEnumerator
Implements
Derived
Inherited Members

Constructors

SocketAddressEnumerator(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 SocketAddressEnumerator(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SocketAddressEnumerator(CreationData)

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

Parameters

data CreationData

SocketAddressEnumerator(SocketAddressEnumeratorHandle)

protected SocketAddressEnumerator(SocketAddressEnumeratorHandle handle)

Parameters

handle SocketAddressEnumeratorHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed SocketAddressEnumerator instance for a given pointer.

public static SocketAddressEnumerator NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

SocketAddressEnumerator

NewWithProperties(ConstructArgument[])

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

public static SocketAddressEnumerator NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

SocketAddressEnumerator

Next(Cancellable?)

public SocketAddress? Next(Cancellable? cancellable)

Parameters

cancellable Cancellable

Returns

SocketAddress

NextFinish(AsyncResult)

public SocketAddress? NextFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

SocketAddress