ThreadPoolBoundHandle ThreadPoolBoundHandle ThreadPoolBoundHandle ThreadPoolBoundHandle Class

Definizione

Rappresenta un handle di I/O associato al pool di thread di sistema che consente ai componenti di basso livello di ricevere le notifiche per le operazioni di I/O asincrone.Represents an I/O handle that is bound to the system thread pool and enables low-level components to receive notifications for asynchronous I/O operations.

public ref class ThreadPoolBoundHandle sealed : IDisposable
public sealed class ThreadPoolBoundHandle : IDisposable
type ThreadPoolBoundHandle = class
    interface IDisposable
Public NotInheritable Class ThreadPoolBoundHandle
Implements IDisposable
Ereditarietà
ThreadPoolBoundHandleThreadPoolBoundHandleThreadPoolBoundHandleThreadPoolBoundHandle
Implementazioni

Proprietà

Handle Handle Handle Handle

Ottiene l'handle del sistema operativo associato.Gets the bound operating system handle.

Metodi

AllocateNativeOverlapped(IOCompletionCallback, Object, Object) AllocateNativeOverlapped(IOCompletionCallback, Object, Object) AllocateNativeOverlapped(IOCompletionCallback, Object, Object) AllocateNativeOverlapped(IOCompletionCallback, Object, Object)

Restituisce un puntatore non gestito a una struttura NativeOverlapped, specificando un delegato che viene richiamato quando l'operazione di I/O asincrona è completata, un oggetto specificato dall'utente che definisce il contesto e gli oggetti gestiti usati come buffer.Returns an unmanaged pointer to a NativeOverlapped structure, specifying a delegate that is invoked when the asynchronous I/O operation is complete, a user-provided object that supplies context, and managed objects that serve as buffers.

AllocateNativeOverlapped(PreAllocatedOverlapped) AllocateNativeOverlapped(PreAllocatedOverlapped) AllocateNativeOverlapped(PreAllocatedOverlapped) AllocateNativeOverlapped(PreAllocatedOverlapped)

Restituisce un puntatore non gestito a una struttura NativeOverlapped mediante lo stato del callback e i buffer associati all'oggetto PreAllocatedOverlapped specificato.Returns an unmanaged pointer to a NativeOverlapped structure using the callback state and buffers associated with the specified PreAllocatedOverlapped object.

BindHandle(SafeHandle) BindHandle(SafeHandle) BindHandle(SafeHandle) BindHandle(SafeHandle)

Restituisce un oggetto ThreadPoolBoundHandle per l'handle specificato, associato al pool di thread del sistema.Returns a ThreadPoolBoundHandle for the specified handle, which is bound to the system thread pool.

Dispose() Dispose() Dispose() Dispose()

Rilascia le risorse non gestite usate dall'istanza di ThreadPoolBoundHandle.Releases all unmanaged resources used by the ThreadPoolBoundHandle instance.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina se l'oggetto specificato è uguale all'oggetto corrente.Determines whether the specified object is equal to the current object.

(Inherited from Object)
FreeNativeOverlapped(NativeOverlapped*) FreeNativeOverlapped(NativeOverlapped*) FreeNativeOverlapped(NativeOverlapped*) FreeNativeOverlapped(NativeOverlapped*)

Libera la memoria associata a una struttura NativeOverlapped allocata dal metodo AllocateNativeOverlapped.Frees the memory associated with a NativeOverlapped structure allocated by the AllocateNativeOverlapped method.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Funge da funzione hash predefinita.Serves as the default hash function.

(Inherited from Object)
GetNativeOverlappedState(NativeOverlapped*) GetNativeOverlappedState(NativeOverlapped*) GetNativeOverlappedState(NativeOverlapped*) GetNativeOverlappedState(NativeOverlapped*)

Restituisce l'oggetto specificato dall'utente quando l'istanza NativeOverlapped è stata allocata mediante la chiamata del metodo AllocateNativeOverlapped(IOCompletionCallback, Object, Object).Returns the user-provided object that was specified when the NativeOverlapped instance was allocated by calling the AllocateNativeOverlapped(IOCompletionCallback, Object, Object) method.

GetType() GetType() GetType() GetType()

Ottiene l'oggetto Type dell'istanza corrente.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficiale dell'oggetto Object corrente.Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Restituisce una stringa che rappresenta l'oggetto corrente.Returns a string that represents the current object.

(Inherited from Object)

Si applica a