Class InputMessageHandle
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
Methods
Equals(InputMessageHandle?)
public bool Equals(InputMessageHandle? other)
Parameters
other
InputMessageHandle
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetAddress()
public IntPtr GetAddress()
Returns
GetBytesReceived()
public nuint GetBytesReceived()
Returns
GetControlMessages()
public SocketControlMessage[] GetControlMessages()
Returns
GetFlags()
public int GetFlags()
Returns
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
GetNumVectors()
public uint GetNumVectors()
Returns
GetVectors()
public InputVectorData[] GetVectors()
Returns
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[]