ThreadPoolBoundHandle ThreadPoolBoundHandle ThreadPoolBoundHandle ThreadPoolBoundHandle Class

Définition

Représente un handle d’E/S lié au pool de threads système et permet aux composants de bas niveau de recevoir des notifications pour les opérations d’E/S asynchrones.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
Héritage
ThreadPoolBoundHandleThreadPoolBoundHandleThreadPoolBoundHandleThreadPoolBoundHandle
Implémente

Propriétés

Handle Handle Handle Handle

Obtient le handle de système d’exploitation lié.Gets the bound operating system handle.

Méthodes

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

Retourne un pointeur non managé vers une structure NativeOverlapped, spécifiant un délégué appelé quand l’opération d’E/S asynchrone est terminée, un objet fourni par l’utilisateur qui fournit un contexte, et des objets gérés qui font office de mémoires tampons.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)

Retourne un pointeur non managé vers une structure NativeOverlapped à l’aide de l’état de rappel et des mémoires tampons associées à l’objet PreAllocatedOverlapped spécifié.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)

Retourne un ThreadPoolBoundHandle pour le handle spécifié, qui est lié au pool de threads système.Returns a ThreadPoolBoundHandle for the specified handle, which is bound to the system thread pool.

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

Libère toutes les ressources non managées utilisées par l’instance de ThreadPoolBoundHandle.Releases all unmanaged resources used by the ThreadPoolBoundHandle instance.

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

Détermine si l'objet spécifié est identique à l'objet actuel.Determines whether the specified object is equal to the current object.

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

Libère la mémoire associée à une structure NativeOverlapped allouée par la méthode AllocateNativeOverlapped.Frees the memory associated with a NativeOverlapped structure allocated by the AllocateNativeOverlapped method.

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

Fait office de fonction de hachage par défaut.Serves as the default hash function.

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

Retourne l’objet fourni par l’utilisateur qui a été spécifié quand l’instance de NativeOverlapped a été allouée en appelant la méthode 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()

Obtient le Type de l'instance actuelle.Gets the Type of the current instance.

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

Crée une copie superficielle de l'objet Object actuel.Creates a shallow copy of the current Object.

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

Retourne une chaîne qui représente l'objet actuel.Returns a string that represents the current object.

(Inherited from Object)

S’applique à