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
constructArgumentsConstructArgument[]
SocketAddressEnumerator(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected SocketAddressEnumerator(CreationData data)
Parameters
dataCreationData
SocketAddressEnumerator(SocketAddressEnumeratorHandle)
protected SocketAddressEnumerator(SocketAddressEnumeratorHandle handle)
Parameters
Methods
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed SocketAddressEnumerator instance for a given pointer.
public static SocketAddressEnumerator NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new SocketAddressEnumerator and sets the properties specified by the construct arguments.
public static SocketAddressEnumerator NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Next(Cancellable?)
public SocketAddress? Next(Cancellable? cancellable)
Parameters
cancellableCancellable
Returns
NextFinish(AsyncResult)
public SocketAddress? NextFinish(AsyncResult result)
Parameters
resultAsyncResult