1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Threading.ThreadPool</name>
7 <member name="T:System.Threading.RegisteredWaitHandle">
8 <summary>Rappresenta un handle registrato durante la chiamata a <see cref="M:System.Threading.ThreadPool.RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)" />.La classe non può essere ereditata.</summary>
9 <filterpriority>2</filterpriority>
11 <member name="M:System.Threading.RegisteredWaitHandle.Unregister(System.Threading.WaitHandle)">
12 <summary>Consente di annullare un'operazione di attesa registrata attivata dal metodo <see cref="M:System.Threading.ThreadPool.RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)" />.</summary>
13 <returns>Viene restituito true se la funzione viene eseguita correttamente; in caso contrario false.</returns>
14 <param name="waitObject">
15 <see cref="T:System.Threading.WaitHandle" /> da segnalare. </param>
16 <filterpriority>2</filterpriority>
18 <member name="T:System.Threading.ThreadPool">
19 <summary>Fornisce un pool di thread che può essere usato per eseguire attività, inviare elementi di lavoro, elaborare operazioni di I/O asincrone, attendere per conto di altri thread ed elaborare timer.</summary>
20 <filterpriority>2</filterpriority>
22 <member name="M:System.Threading.ThreadPool.BindHandle(System.Runtime.InteropServices.SafeHandle)">
23 <summary>[SecurityCritical] Associa un handle del sistema operativo al <see cref="T:System.Threading.ThreadPool" />.</summary>
24 <returns>true se l'handle è associato; in caso contrario, false.</returns>
25 <param name="osHandle">Oggetto <see cref="T:System.Runtime.InteropServices.SafeHandle" /> che contiene l'handle del sistema operativo.È necessario che l'handle sia stato aperto per operazioni di I/O sovrapposte nella parte non gestita.</param>
27 <member name="M:System.Threading.ThreadPool.QueueUserWorkItem(System.Threading.WaitCallback)">
28 <summary>Accoda un metodo da eseguire.Il metodo viene eseguito quando un thread del pool di thread diventa disponibile.</summary>
29 <returns>true se il metodo viene accodato correttamente. Viene generata l'eccezione <see cref="T:System.NotSupportedException" /> se non è stato possibile accodare l'elemento di lavoro.</returns>
30 <param name="callBack">Oggetto <see cref="T:System.Threading.WaitCallback" /> che rappresenta il metodo da eseguire. </param>
31 <exception cref="T:System.ArgumentNullException">
32 <paramref name="callBack" /> is null.</exception>
33 <exception cref="T:System.NotSupportedException">The common language runtime (CLR) is hosted, and the host does not support this action.</exception>
34 <filterpriority>1</filterpriority>
36 <member name="M:System.Threading.ThreadPool.QueueUserWorkItem(System.Threading.WaitCallback,System.Object)">
37 <summary>Accoda un metodo da eseguire e specifica un oggetto che contiene i dati che dovranno essere usati dal metodo.Il metodo viene eseguito quando un thread del pool di thread diventa disponibile.</summary>
38 <returns>true se il metodo viene accodato correttamente. Viene generata l'eccezione <see cref="T:System.NotSupportedException" /> se non è stato possibile accodare l'elemento di lavoro.</returns>
39 <param name="callBack">
40 <see cref="T:System.Threading.WaitCallback" /> che rappresenta il metodo da eseguire. </param>
41 <param name="state">Oggetto contenente i dati che devono essere usati dal metodo. </param>
42 <exception cref="T:System.NotSupportedException">The common language runtime (CLR) is hosted, and the host does not support this action.</exception>
43 <exception cref="T:System.ArgumentNullException">
44 <paramref name="callBack" /> is null.</exception>
45 <filterpriority>1</filterpriority>
47 <member name="M:System.Threading.ThreadPool.RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int32,System.Boolean)">
48 <summary>Registra un delegato per l'attesa di un oggetto <see cref="T:System.Threading.WaitHandle" />, specificando un valore intero con segno a 32 bit per il timeout in millisecondi.</summary>
50 <see cref="T:System.Threading.RegisteredWaitHandle" /> che incapsula l'handle nativo.</returns>
51 <param name="waitObject">
52 <see cref="T:System.Threading.WaitHandle" /> da registrare.Usare una classe <see cref="T:System.Threading.WaitHandle" /> diversa da <see cref="T:System.Threading.Mutex" />.</param>
53 <param name="callBack">Delegato <see cref="T:System.Threading.WaitOrTimerCallback" /> da chiamare quando il parametro <paramref name="waitObject" /> riceve un segnale. </param>
54 <param name="state">Oggetto passato al delegato. </param>
55 <param name="millisecondsTimeOutInterval">Timeout in millisecondi.Se il parametro <paramref name="millisecondsTimeOutInterval" /> è pari a 0 (zero), la funzione verifica lo stato dell'oggetto e restituisce immediatamente un valore.Se <paramref name="millisecondsTimeOutInterval" /> è -1, l'intervallo di timeout della funzione non termina mai.</param>
56 <param name="executeOnlyOnce">Viene restituito true per indicare che il thread non attenderà più in base al parametro <paramref name="waitObject" /> dopo la chiamata al delegato; false per indicare che il timer viene reimpostato ogni volta che l'operazione di attesa viene completata fino all'annullamento della registrazione dell'attesa. </param>
57 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="millisecondsTimeOutInterval" /> parameter is less than -1. </exception>
58 <filterpriority>1</filterpriority>
60 <member name="M:System.Threading.ThreadPool.RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.Int64,System.Boolean)">
61 <summary>Registra un delegato per l'attesa di un oggetto <see cref="T:System.Threading.WaitHandle" />, specificando un valore intero con segno a 64 bit per il timeout in millisecondi.</summary>
63 <see cref="T:System.Threading.RegisteredWaitHandle" /> che incapsula l'handle nativo.</returns>
64 <param name="waitObject">
65 <see cref="T:System.Threading.WaitHandle" /> da registrare.Usare una classe <see cref="T:System.Threading.WaitHandle" /> diversa da <see cref="T:System.Threading.Mutex" />.</param>
66 <param name="callBack">Delegato <see cref="T:System.Threading.WaitOrTimerCallback" /> da chiamare quando il parametro <paramref name="waitObject" /> riceve un segnale. </param>
67 <param name="state">Oggetto passato al delegato. </param>
68 <param name="millisecondsTimeOutInterval">Timeout in millisecondi.Se il parametro <paramref name="millisecondsTimeOutInterval" /> è pari a 0 (zero), la funzione verifica lo stato dell'oggetto e restituisce immediatamente un valore.Se <paramref name="millisecondsTimeOutInterval" /> è -1, l'intervallo di timeout della funzione non termina mai.</param>
69 <param name="executeOnlyOnce">Viene restituito true per indicare che il thread non attenderà più in base al parametro <paramref name="waitObject" /> dopo la chiamata al delegato; false per indicare che il timer viene reimpostato ogni volta che l'operazione di attesa viene completata fino all'annullamento della registrazione dell'attesa. </param>
70 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="millisecondsTimeOutInterval" /> parameter is less than -1. </exception>
71 <filterpriority>1</filterpriority>
73 <member name="M:System.Threading.ThreadPool.RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.TimeSpan,System.Boolean)">
74 <summary>Registra un delegato per l'attesa di un oggetto <see cref="T:System.Threading.WaitHandle" />, specificando un valore <see cref="T:System.TimeSpan" /> per il timeout.</summary>
76 <see cref="T:System.Threading.RegisteredWaitHandle" /> che incapsula l'handle nativo.</returns>
77 <param name="waitObject">
78 <see cref="T:System.Threading.WaitHandle" /> da registrare.Usare una classe <see cref="T:System.Threading.WaitHandle" /> diversa da <see cref="T:System.Threading.Mutex" />.</param>
79 <param name="callBack">Delegato <see cref="T:System.Threading.WaitOrTimerCallback" /> da chiamare quando il parametro <paramref name="waitObject" /> riceve un segnale. </param>
80 <param name="state">Oggetto passato al delegato. </param>
81 <param name="timeout">Il timeout rappresentato da un valore <see cref="T:System.TimeSpan" />.Se <paramref name="timeout" /> è pari a 0 (zero), la funzione verifica lo stato dell'oggetto e restituisce immediatamente un valore.Se <paramref name="timeout" /> è -1, l'intervallo di timeout della funzione non termina mai.</param>
82 <param name="executeOnlyOnce">Viene restituito true per indicare che il thread non attenderà più in base al parametro <paramref name="waitObject" /> dopo la chiamata al delegato; false per indicare che il timer viene reimpostato ogni volta che l'operazione di attesa viene completata fino all'annullamento della registrazione dell'attesa. </param>
83 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="timeout" /> parameter is less than -1. </exception>
84 <exception cref="T:System.NotSupportedException">The <paramref name="timeout" /> parameter is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
85 <filterpriority>1</filterpriority>
87 <member name="M:System.Threading.ThreadPool.RegisterWaitForSingleObject(System.Threading.WaitHandle,System.Threading.WaitOrTimerCallback,System.Object,System.UInt32,System.Boolean)">
88 <summary>Registra un delegato per l'attesa di un oggetto <see cref="T:System.Threading.WaitHandle" />, specificando un intero senza segno a 32 bit per il timeout in millisecondi.</summary>
89 <returns>Oggetto <see cref="T:System.Threading.RegisteredWaitHandle" /> che può essere usato per annullare l'operazione di attesa registrata.</returns>
90 <param name="waitObject">
91 <see cref="T:System.Threading.WaitHandle" /> da registrare.Usare una classe <see cref="T:System.Threading.WaitHandle" /> diversa da <see cref="T:System.Threading.Mutex" />.</param>
92 <param name="callBack">Delegato <see cref="T:System.Threading.WaitOrTimerCallback" /> da chiamare quando il parametro <paramref name="waitObject" /> riceve un segnale. </param>
93 <param name="state">Oggetto passato al delegato. </param>
94 <param name="millisecondsTimeOutInterval">Timeout in millisecondi.Se il parametro <paramref name="millisecondsTimeOutInterval" /> è pari a 0 (zero), la funzione verifica lo stato dell'oggetto e restituisce immediatamente un valore.Se <paramref name="millisecondsTimeOutInterval" /> è -1, l'intervallo di timeout della funzione non termina mai.</param>
95 <param name="executeOnlyOnce">Viene restituito true per indicare che il thread non attenderà più in base al parametro <paramref name="waitObject" /> dopo la chiamata al delegato; false per indicare che il timer viene reimpostato ogni volta che l'operazione di attesa viene completata fino all'annullamento della registrazione dell'attesa. </param>
96 <exception cref="T:System.ArgumentOutOfRangeException">The <paramref name="millisecondsTimeOutInterval" /> parameter is less than -1. </exception>
97 <filterpriority>1</filterpriority>
99 <member name="T:System.Threading.WaitCallback">
100 <summary>Rappresenta un metodo di callback che deve essere eseguito da un thread di pool di thread.</summary>
101 <param name="state">Oggetto contenente informazioni che devono essere utilizzate dal metodo di callback. </param>
102 <filterpriority>2</filterpriority>
104 <member name="T:System.Threading.WaitOrTimerCallback">
105 <summary>Rappresenta un metodo da chiamare quando <see cref="T:System.Threading.WaitHandle" /> riceve un segnale o esegue il timeout.</summary>
106 <param name="state">Oggetto contenente informazioni che devono essere utilizzate dal metodo di callback ogni volta che viene eseguito. </param>
107 <param name="timedOut">Il valore è true se <see cref="T:System.Threading.WaitHandle" /> ha eseguito il timeout; è false se ha ricevuto un segnale. </param>
108 <filterpriority>2</filterpriority>