Table of Contents

Class InputMessageHandle

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public abstract class InputMessageHandle : SafeHandle, IDisposable
Inheritance
InputMessageHandle
Implements
Derived
Inherited Members

Constructors

InputMessageHandle(bool)

protected InputMessageHandle(bool ownsHandle)

Parameters

ownsHandle bool

Properties

IsInvalid

When overridden in a derived class, gets a value indicating whether the handle value is invalid.

public override sealed bool IsInvalid { get; }

Property Value

bool

true if the handle value is invalid; otherwise, false.

Methods

Equals(InputMessageHandle?)

public bool Equals(InputMessageHandle? other)

Parameters

other InputMessageHandle

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetAddress()

public IntPtr GetAddress()

Returns

IntPtr

GetBytesReceived()

public nuint GetBytesReceived()

Returns

nuint

GetControlMessages()

public SocketControlMessage[] GetControlMessages()

Returns

SocketControlMessage[]

GetFlags()

public int GetFlags()

Returns

int

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

GetNumControlMessages()

public IntPtr GetNumControlMessages()

Returns

IntPtr

GetNumVectors()

public uint GetNumVectors()

Returns

uint

GetVectors()

public InputVectorData[] GetVectors()

Returns

InputVectorData[]

SetAddress(IntPtr)

public void SetAddress(IntPtr value)

Parameters

value IntPtr

SetBytesReceived(nuint)

public void SetBytesReceived(nuint value)

Parameters

value nuint

SetControlMessages(SocketControlMessage[])

public void SetControlMessages(SocketControlMessage[] value)

Parameters

value SocketControlMessage[]

SetFlags(int)

public void SetFlags(int value)

Parameters

value int

SetNumControlMessages(IntPtr)

public void SetNumControlMessages(IntPtr value)

Parameters

value IntPtr

SetNumVectors(uint)

public void SetNumVectors(uint value)

Parameters

value uint

SetVectors(InputVectorData[])

public void SetVectors(InputVectorData[] value)

Parameters

value InputVectorData[]