1 <?xml version="1.0" encoding="utf-8"?>
4 <name>System.Threading</name>
7 <member name="T:System.Threading.AbandonedMutexException">
8 <summary>當一個執行緒取得另一個執行緒已放棄,但是結束時並未釋放的 <see cref="T:System.Threading.Mutex" /> 物件時,所擲回的例外狀況。</summary>
9 <filterpriority>1</filterpriority>
11 <member name="M:System.Threading.AbandonedMutexException.#ctor">
12 <summary>使用預設值,初始化 <see cref="T:System.Threading.AbandonedMutexException" /> 類別的新執行個體。</summary>
14 <member name="M:System.Threading.AbandonedMutexException.#ctor(System.Int32,System.Threading.WaitHandle)">
15 <summary>使用已放棄 Mutex 的指定索引 (若適用的話) 以及表示此 Mutex 的 <see cref="T:System.Threading.Mutex" /> 物件,初始化 <see cref="T:System.Threading.AbandonedMutexException" /> 類別的新執行個體 。</summary>
16 <param name="location">如果針對 <see cref="Overload:System.Threading.WaitHandle.WaitAny" /> 方法擲回例外狀況,則為等候控制代碼陣列中已放棄 Mutex 的索引;如果針對 <see cref="Overload:System.Threading.WaitHandle.WaitOne" /> 或 <see cref="Overload:System.Threading.WaitHandle.WaitAll" /> 方法擲回例外狀況,則為 -1。</param>
18 <see cref="T:System.Threading.Mutex" /> 物件,表示放棄的 Mutex。</param>
20 <member name="M:System.Threading.AbandonedMutexException.#ctor(System.String)">
21 <summary>使用指定的錯誤訊息,初始化 <see cref="T:System.Threading.AbandonedMutexException" /> 類別的新執行個體。</summary>
22 <param name="message">解釋發生例外狀況原因的錯誤訊息。</param>
24 <member name="M:System.Threading.AbandonedMutexException.#ctor(System.String,System.Exception)">
25 <summary>使用指定的錯誤訊息和內部例外狀況初始化 <see cref="T:System.Threading.AbandonedMutexException" /> 類別的新執行個體。</summary>
26 <param name="message">解釋發生例外狀況原因的錯誤訊息。</param>
27 <param name="inner">導致目前例外狀況的例外。如果 <paramref name="inner" /> 參數不是 null,則目前的例外狀況會在處理內部例外的 catch 區塊中引發。</param>
29 <member name="M:System.Threading.AbandonedMutexException.#ctor(System.String,System.Exception,System.Int32,System.Threading.WaitHandle)">
30 <summary>使用指定的錯誤訊息、內部例外狀況、已放棄 Mutex 的索引 (若適用的話),以及表示此 Mutex 的 <see cref="T:System.Threading.Mutex" /> 物件,初始化 <see cref="T:System.Threading.AbandonedMutexException" /> 類別的新執行個體。</summary>
31 <param name="message">解釋發生例外狀況原因的錯誤訊息。</param>
32 <param name="inner">導致目前例外狀況的例外。如果 <paramref name="inner" /> 參數不是 null,則目前的例外狀況會在處理內部例外的 catch 區塊中引發。</param>
33 <param name="location">如果針對 <see cref="Overload:System.Threading.WaitHandle.WaitAny" /> 方法擲回例外狀況,則為等候控制代碼陣列中已放棄 Mutex 的索引;如果針對 <see cref="Overload:System.Threading.WaitHandle.WaitOne" /> 或 <see cref="Overload:System.Threading.WaitHandle.WaitAll" /> 方法擲回例外狀況,則為 -1。</param>
35 <see cref="T:System.Threading.Mutex" /> 物件,表示放棄的 Mutex。</param>
37 <member name="M:System.Threading.AbandonedMutexException.#ctor(System.String,System.Int32,System.Threading.WaitHandle)">
38 <summary>以指定的錯誤訊息、已放棄 Mutex 的索引 (若適用的話) 以及放棄的 Mutex 初始化 <see cref="T:System.Threading.AbandonedMutexException" /> 類別的新執行個體。</summary>
39 <param name="message">解釋發生例外狀況原因的錯誤訊息。</param>
40 <param name="location">如果針對 <see cref="Overload:System.Threading.WaitHandle.WaitAny" /> 方法擲回例外狀況,則為等候控制代碼陣列中已放棄 Mutex 的索引;如果針對 <see cref="Overload:System.Threading.WaitHandle.WaitOne" /> 或 <see cref="Overload:System.Threading.WaitHandle.WaitAll" /> 方法擲回例外狀況,則為 -1。</param>
42 <see cref="T:System.Threading.Mutex" /> 物件,表示放棄的 Mutex。</param>
44 <member name="P:System.Threading.AbandonedMutexException.Mutex">
45 <summary>取得造成例外狀況的已放棄 Mutex (若為已知)。</summary>
47 <see cref="T:System.Threading.Mutex" /> 物件,表示已放棄的 Mutex;若無法識別已放棄的 Mutex,則為 null。</returns>
48 <filterpriority>1</filterpriority>
50 <member name="P:System.Threading.AbandonedMutexException.MutexIndex">
51 <summary>取得造成例外狀況之已放棄 Mutex 的索引 (若為已知)。</summary>
52 <returns>等候控制代碼陣列中的索引 (已傳遞給 <see cref="T:System.Threading.Mutex" /> 物件的 <see cref="Overload:System.Threading.WaitHandle.WaitAny" /> 方法),表示已放棄的 Mutex;如果無法判斷已放棄 Mutex 的索引,則為 -1。</returns>
53 <filterpriority>1</filterpriority>
55 <member name="T:System.Threading.AsyncLocal`1">
56 <summary>表示對於指定的非同步控制流程為本機的環境資料,例如非同步方法。</summary>
57 <typeparam name="T">環境資料的類型。</typeparam>
59 <member name="M:System.Threading.AsyncLocal`1.#ctor">
60 <summary>具現化不會接收變更告知的 <see cref="T:System.Threading.AsyncLocal`1" /> 執行個體。</summary>
62 <member name="M:System.Threading.AsyncLocal`1.#ctor(System.Action{System.Threading.AsyncLocalValueChangedArgs{`0}})">
63 <summary>具現化會接收變更告知的 <see cref="T:System.Threading.AsyncLocal`1" /> 本機執行個體。</summary>
64 <param name="valueChangedHandler">每當在任何執行緒上變更目前的值就會呼叫委派。</param>
66 <member name="P:System.Threading.AsyncLocal`1.Value">
67 <summary>取得或設定環境資料的值。</summary>
68 <returns>環境資料的值。</returns>
70 <member name="T:System.Threading.AsyncLocalValueChangedArgs`1">
71 <summary>會提供資料變更資訊給 <see cref="T:System.Threading.AsyncLocal`1" /> 執行個體的的類別,該執行個體會註冊變更告知。</summary>
72 <typeparam name="T">資料的類型。</typeparam>
74 <member name="P:System.Threading.AsyncLocalValueChangedArgs`1.CurrentValue">
75 <summary>取得資料目前的值。</summary>
76 <returns>資料目前的值。</returns>
78 <member name="P:System.Threading.AsyncLocalValueChangedArgs`1.PreviousValue">
79 <summary>取得資料先前的值。</summary>
80 <returns>資料先前的值。</returns>
82 <member name="P:System.Threading.AsyncLocalValueChangedArgs`1.ThreadContextChanged">
83 <summary>傳回值,指出值是否會因為執行內容的變更而變更。</summary>
84 <returns>如果值會因為執行內容的變更而變更,則為 true;否則為 false。</returns>
86 <member name="T:System.Threading.AutoResetEvent">
87 <summary>向等候的執行緒通知發生事件。此類別無法被繼承。</summary>
88 <filterpriority>2</filterpriority>
90 <member name="M:System.Threading.AutoResetEvent.#ctor(System.Boolean)">
91 <summary>使用表示是否要將初始狀態設定為已收到訊號的布林值,初始化 <see cref="T:System.Threading.AutoResetEvent" /> 類別的新執行個體。</summary>
92 <param name="initialState">true 表示初始狀態設定為已收到信號,false 表示初始狀態設定為未收到信號。</param>
94 <member name="T:System.Threading.Barrier">
95 <summary>允許多項工作在多個階段中以平行方式來合作處理某個演算法。</summary>
97 <member name="M:System.Threading.Barrier.#ctor(System.Int32)">
98 <summary>初始化 <see cref="T:System.Threading.Barrier" /> 類別的新執行個體。</summary>
99 <param name="participantCount">參與執行緒的數目。</param>
100 <exception cref="T:System.ArgumentOutOfRangeException">
101 <paramref name="participantCount" /> 小於 0 或大於 32,767。</exception>
103 <member name="M:System.Threading.Barrier.#ctor(System.Int32,System.Action{System.Threading.Barrier})">
104 <summary>初始化 <see cref="T:System.Threading.Barrier" /> 類別的新執行個體。</summary>
105 <param name="participantCount">參與執行緒的數目。</param>
106 <param name="postPhaseAction">要在每個階段之後執行的 <see cref="T:System.Action`1" />。可以傳遞 null (在 Visual Basic 中為 Nothing) 表示不執行任何動作。</param>
107 <exception cref="T:System.ArgumentOutOfRangeException">
108 <paramref name="participantCount" /> 小於 0 或大於 32,767。</exception>
110 <member name="M:System.Threading.Barrier.AddParticipant">
111 <summary>通知 <see cref="T:System.Threading.Barrier" />,表示還會有一個其他參與者。</summary>
112 <returns>新參與者將第一次參與其中的屏障階段編號。</returns>
113 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
114 <exception cref="T:System.InvalidOperationException">加入參與者會造成屏障的參與者計數超過 32,767。-或-此方法是從 post-phase 動作中叫用。</exception>
116 <member name="M:System.Threading.Barrier.AddParticipants(System.Int32)">
117 <summary>通知 <see cref="T:System.Threading.Barrier" />,表示還會有多個其他參與者。</summary>
118 <returns>新參與者將第一次參與其中的屏障階段編號。</returns>
119 <param name="participantCount">要加入至屏障的其他參與者數目。</param>
120 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
121 <exception cref="T:System.ArgumentOutOfRangeException">
122 <paramref name="participantCount" /> 小於 0。-或-加入 <paramref name="participantCount" /> 參與者會造成屏障的參與者計數超過 32,767。</exception>
123 <exception cref="T:System.InvalidOperationException">此方法是從 post-phase 動作中叫用。</exception>
125 <member name="P:System.Threading.Barrier.CurrentPhaseNumber">
126 <summary>取得屏障目前階段的編號。</summary>
127 <returns>傳回屏障目前階段的編號。</returns>
129 <member name="M:System.Threading.Barrier.Dispose">
130 <summary>將 <see cref="T:System.Threading.Barrier" /> 類別目前的執行個體所使用的資源全部釋出。</summary>
131 <exception cref="T:System.InvalidOperationException">此方法是從 post-phase 動作中叫用。</exception>
133 <member name="M:System.Threading.Barrier.Dispose(System.Boolean)">
134 <summary>釋放 <see cref="T:System.Threading.Barrier" /> 所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。</summary>
135 <param name="disposing">true 表示同時釋放 Managed 和 Unmanaged 資源,false 表示只釋放 Unmanaged 資源。</param>
137 <member name="P:System.Threading.Barrier.ParticipantCount">
138 <summary>取得在屏障中的參與者總數。</summary>
139 <returns>傳回在屏障中的參與者總數。</returns>
141 <member name="P:System.Threading.Barrier.ParticipantsRemaining">
142 <summary>取得在目前階段中尚未發出訊號的屏障中參與者數目。</summary>
143 <returns>傳回在目前階段中尚未發出訊號的屏障中參與者數目。</returns>
145 <member name="M:System.Threading.Barrier.RemoveParticipant">
146 <summary>通知 <see cref="T:System.Threading.Barrier" />,表示會減少一個參與者。</summary>
147 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
148 <exception cref="T:System.InvalidOperationException">屏障已經有 0 個參與者。-或-此方法是從 post-phase 動作中叫用。</exception>
150 <member name="M:System.Threading.Barrier.RemoveParticipants(System.Int32)">
151 <summary>通知 <see cref="T:System.Threading.Barrier" />,表示會減少一些參與者。</summary>
152 <param name="participantCount">要從屏障中移除的其他參與者數目。</param>
153 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
154 <exception cref="T:System.ArgumentOutOfRangeException">
155 <paramref name="participantCount" /> 小於 0。</exception>
156 <exception cref="T:System.InvalidOperationException">屏障已經有 0 個參與者。-或-此方法是從 post-phase 動作中叫用。 -或-目前的參與者計數少於指定的 participantCount</exception>
157 <exception cref="T:System.ArgumentOutOfRangeException">參與者總計數小於指定的 <paramref name=" participantCount" /></exception>
159 <member name="M:System.Threading.Barrier.SignalAndWait">
160 <summary>發出訊號,表示參與者已到達屏障,並且在等候所有其他參與者到達屏障。</summary>
161 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
162 <exception cref="T:System.InvalidOperationException">此方法是從 post-phase 動作中叫用,屏障目前有 0 個參與者,或者使用該屏障的執行緒數量多於註冊為參與者的數量。</exception>
163 <exception cref="T:System.Threading.BarrierPostPhaseException">所有參與執行緒皆已呼叫 SignalAndWait 後,如果從 Barrier 的階段後動作擲回例外,會將例外狀況包裝在 BarrierPostPhaseException 中,並擲回所有參與執行緒。</exception>
165 <member name="M:System.Threading.Barrier.SignalAndWait(System.Int32)">
166 <summary>發出訊號,表示參與者已到達屏障,並且在等候所有其他參與者到達屏障 (使用 32 位元帶正負號的整數以測量逾時)。</summary>
167 <returns>如果所有參與者已在指定時間內達到屏障則為 true,否則為 false。</returns>
168 <param name="millisecondsTimeout">要等候的毫秒數,如果要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" /> (-1)。</param>
169 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
170 <exception cref="T:System.ArgumentOutOfRangeException">
171 <paramref name="millisecondsTimeout" /> 是一個不等於 -1 的負數,-1 表示等候逾時為無限。</exception>
172 <exception cref="T:System.InvalidOperationException">此方法是從 post-phase 動作中叫用,屏障目前有 0 個參與者,或者使用該屏障的執行緒數量多於註冊為參與者的數量。</exception>
173 <exception cref="T:System.Threading.BarrierPostPhaseException">所有參與執行緒皆已呼叫 SignalAndWait 後,如果從 Barrier 的階段後動作擲回例外,會將例外狀況包裝在 BarrierPostPhaseException 中,並擲回所有參與執行緒。</exception>
175 <member name="M:System.Threading.Barrier.SignalAndWait(System.Int32,System.Threading.CancellationToken)">
176 <summary>發出訊號,表示參與者已到達屏障,並且在等候所有其他參與者到達 (使用 32 位元帶正負號的整數以測量逾時),同時觀察取消語彙基元。</summary>
177 <returns>如果所有參與者已在指定時間內達到屏障則為 true,否則為 false。</returns>
178 <param name="millisecondsTimeout">要等候的毫秒數,如果要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" /> (-1)。</param>
179 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
180 <exception cref="T:System.OperationCanceledException">
181 <paramref name="cancellationToken" /> 已取消。</exception>
182 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
183 <exception cref="T:System.ArgumentOutOfRangeException">
184 <paramref name="millisecondsTimeout" /> 是一個不等於 -1 的負數,-1 表示等候逾時為無限。</exception>
185 <exception cref="T:System.InvalidOperationException">此方法是從 post-phase 動作中叫用,屏障目前有 0 個參與者,或者使用該屏障的執行緒數量多於註冊為參與者的數量。</exception>
187 <member name="M:System.Threading.Barrier.SignalAndWait(System.Threading.CancellationToken)">
188 <summary>發出訊號,表示參與者已到達屏障,並且在等候所有其他參與者到達,同時觀察取消語彙基元。</summary>
189 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
190 <exception cref="T:System.OperationCanceledException">
191 <paramref name="cancellationToken" /> 已取消。</exception>
192 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
193 <exception cref="T:System.InvalidOperationException">此方法是從 post-phase 動作中叫用,屏障目前有 0 個參與者,或者使用該屏障的執行緒數量多於註冊為參與者的數量。</exception>
195 <member name="M:System.Threading.Barrier.SignalAndWait(System.TimeSpan)">
196 <summary>發出訊號,表示參與者已到達屏障,並且在等候所有其他參與者到達屏障 (使用 <see cref="T:System.TimeSpan" /> 物件以測量時間間隔)。</summary>
197 <returns>如果所有其他參與者已達到屏障則為 true,否則為 false。</returns>
198 <param name="timeout">
199 <see cref="T:System.TimeSpan" />,表示要等候的毫秒數,或是 <see cref="T:System.TimeSpan" />,表示無限期等候的 -1 毫秒。</param>
200 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
201 <exception cref="T:System.ArgumentOutOfRangeException">
202 <paramref name="timeout" /> 是除了 -1 毫秒以外的負數,表示無限逾時,或是大於 32,767 的逾時。</exception>
203 <exception cref="T:System.InvalidOperationException">此方法是從 post-phase 動作中叫用,屏障目前有 0 個參與者,或者使用該屏障的執行緒數量多於註冊為參與者的數量。</exception>
205 <member name="M:System.Threading.Barrier.SignalAndWait(System.TimeSpan,System.Threading.CancellationToken)">
206 <summary>發出訊號,表示參與者已到達屏障,並且在等候所有其他參與者到達 (使用 <see cref="T:System.TimeSpan" /> 物件以測量時間間隔),同時觀察取消語彙基元。</summary>
207 <returns>如果所有其他參與者已達到屏障則為 true,否則為 false。</returns>
208 <param name="timeout">
209 <see cref="T:System.TimeSpan" />,表示要等候的毫秒數,或是 <see cref="T:System.TimeSpan" />,表示無限期等候的 -1 毫秒。</param>
210 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
211 <exception cref="T:System.OperationCanceledException">
212 <paramref name="cancellationToken" /> 已取消。</exception>
213 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
214 <exception cref="T:System.ArgumentOutOfRangeException">
215 <paramref name="timeout" /> 是除了 -1 毫秒以外的負數,表示無限逾時。</exception>
216 <exception cref="T:System.InvalidOperationException">此方法是從 post-phase 動作中叫用,屏障目前有 0 個參與者,或者使用該屏障的執行緒數量多於註冊為參與者的數量。</exception>
218 <member name="T:System.Threading.BarrierPostPhaseException">
219 <summary>在 <see cref="T:System.Threading.Barrier" /> 的後續階段動作失敗時所擲回的例外狀況。</summary>
221 <member name="M:System.Threading.BarrierPostPhaseException.#ctor">
222 <summary>以系統提供的錯誤說明訊息,初始化 <see cref="T:System.Threading.BarrierPostPhaseException" /> 類別的新執行個體。</summary>
224 <member name="M:System.Threading.BarrierPostPhaseException.#ctor(System.Exception)">
225 <summary>使用指定的內部例外狀況,初始化 <see cref="T:System.Threading.BarrierPostPhaseException" /> 類別的新執行個體。</summary>
226 <param name="innerException">導致目前例外狀況的例外。</param>
228 <member name="M:System.Threading.BarrierPostPhaseException.#ctor(System.String)">
229 <summary>使用指定的錯誤說明訊息,初始化 <see cref="T:System.Threading.BarrierPostPhaseException" /> 類別的新執行個體。</summary>
230 <param name="message">說明例外狀況的訊息。這個建構函式的呼叫端必須確保這個字串已經為目前系統的文化特性當地語系化。</param>
232 <member name="M:System.Threading.BarrierPostPhaseException.#ctor(System.String,System.Exception)">
233 <summary>使用指定的錯誤訊息和造成這個例外狀況原因的內部例外狀況參考,初始化 <see cref="T:System.Threading.BarrierPostPhaseException" /> 類別的新執行個體。</summary>
234 <param name="message">說明例外狀況的訊息。這個建構函式的呼叫端必須確保這個字串已經為目前系統的文化特性當地語系化。</param>
235 <param name="innerException">導致目前例外狀況的例外。如果 <paramref name="innerException" /> 參數不是 null,則目前的例外狀況會在處理內部例外的 catch 區塊中引發。</param>
237 <member name="T:System.Threading.ContextCallback">
238 <summary>表示要在新內容裡面呼叫的方法。</summary>
239 <param name="state">物件,它包含回呼方法所使用的資訊。</param>
240 <filterpriority>1</filterpriority>
242 <member name="T:System.Threading.CountdownEvent">
243 <summary>代表當計數到達零時收到訊號的同步處理原始物件。</summary>
245 <member name="M:System.Threading.CountdownEvent.#ctor(System.Int32)">
246 <summary>使用指定的計數,初始化 <see cref="T:System.Threading.CountdownEvent" /> 類別的新執行個體。</summary>
247 <param name="initialCount">設定 <see cref="T:System.Threading.CountdownEvent" /> 時最初所需的訊號次數。</param>
248 <exception cref="T:System.ArgumentOutOfRangeException">
249 <paramref name="initialCount" /> 小於 0。</exception>
251 <member name="M:System.Threading.CountdownEvent.AddCount">
252 <summary>將 <see cref="T:System.Threading.CountdownEvent" /> 目前的計數遞增一。</summary>
253 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
254 <exception cref="T:System.InvalidOperationException">目前的執行個體已經設定。-或-<see cref="P:System.Threading.CountdownEvent.CurrentCount" /> 等於或大於 <see cref="F:System.Int32.MaxValue" />。</exception>
256 <member name="M:System.Threading.CountdownEvent.AddCount(System.Int32)">
257 <summary>將 <see cref="T:System.Threading.CountdownEvent" /> 目前的計數遞增所指定的值。</summary>
258 <param name="signalCount">
259 <see cref="P:System.Threading.CountdownEvent.CurrentCount" /> 所要增加的值。</param>
260 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
261 <exception cref="T:System.ArgumentOutOfRangeException">
262 <paramref name="signalCount" /> 小於或等於 0。</exception>
263 <exception cref="T:System.InvalidOperationException">目前的執行個體已經設定。-或-計數遞增 <paramref name="signalCount." /> 後,<see cref="P:System.Threading.CountdownEvent.CurrentCount" /> 會等於或大於 <see cref="F:System.Int32.MaxValue" /></exception>
265 <member name="P:System.Threading.CountdownEvent.CurrentCount">
266 <summary>取得設定事件時需要的剩餘訊號次數。</summary>
267 <returns> 設定事件時需要的剩餘訊號次數。</returns>
269 <member name="M:System.Threading.CountdownEvent.Dispose">
270 <summary>將 <see cref="T:System.Threading.CountdownEvent" /> 類別目前的執行個體所使用的資源全部釋出。</summary>
272 <member name="M:System.Threading.CountdownEvent.Dispose(System.Boolean)">
273 <summary>釋放 <see cref="T:System.Threading.CountdownEvent" /> 所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。</summary>
274 <param name="disposing">true 表示同時釋放 Managed 和 Unmanaged 資源,false 表示只釋放 Unmanaged 資源。</param>
276 <member name="P:System.Threading.CountdownEvent.InitialCount">
277 <summary>取得設定事件一開始時所需要的訊號次數。</summary>
278 <returns> 設定事件一開始時所需要的訊號次數。</returns>
280 <member name="P:System.Threading.CountdownEvent.IsSet">
281 <summary>判斷事件是否已設定。</summary>
282 <returns>如果已設定事件則為 true,否則為 false。</returns>
284 <member name="M:System.Threading.CountdownEvent.Reset">
285 <summary>將 <see cref="P:System.Threading.CountdownEvent.CurrentCount" /> 重設為 <see cref="P:System.Threading.CountdownEvent.InitialCount" /> 的值。</summary>
286 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
288 <member name="M:System.Threading.CountdownEvent.Reset(System.Int32)">
289 <summary>將 <see cref="P:System.Threading.CountdownEvent.InitialCount" /> 屬性重設為指定的值。</summary>
290 <param name="count">設定 <see cref="T:System.Threading.CountdownEvent" /> 時所需的訊號次數。</param>
291 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
292 <exception cref="T:System.ArgumentOutOfRangeException">
293 <paramref name="count" /> 小於 0。</exception>
295 <member name="M:System.Threading.CountdownEvent.Signal">
296 <summary>向 <see cref="T:System.Threading.CountdownEvent" /> 註冊訊號,並遞減 <see cref="P:System.Threading.CountdownEvent.CurrentCount" /> 的值。</summary>
297 <returns>如果訊號使計數到達零且設定事件則為 true,否則為 false。</returns>
298 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
299 <exception cref="T:System.InvalidOperationException">目前的執行個體已經設定。</exception>
301 <member name="M:System.Threading.CountdownEvent.Signal(System.Int32)">
302 <summary>向 <see cref="T:System.Threading.CountdownEvent" /> 註冊多個訊號,並將 <see cref="P:System.Threading.CountdownEvent.CurrentCount" /> 的值遞減指定的數量。</summary>
303 <returns>如果信號使計數到達零且設定事件則為 true,否則為 false。</returns>
304 <param name="signalCount">要註冊的訊號數。</param>
305 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
306 <exception cref="T:System.ArgumentOutOfRangeException">
307 <paramref name="signalCount" /> 小於 1。</exception>
308 <exception cref="T:System.InvalidOperationException">目前的執行個體已經設定。或 <paramref name="signalCount" /> 大於 <see cref="P:System.Threading.CountdownEvent.CurrentCount" />。</exception>
310 <member name="M:System.Threading.CountdownEvent.TryAddCount">
311 <summary>嘗試將 <see cref="P:System.Threading.CountdownEvent.CurrentCount" /> 遞增一。</summary>
312 <returns>如果遞增成功則為 true,否則為 false。如果 <see cref="P:System.Threading.CountdownEvent.CurrentCount" /> 已經位於零,這個方法將傳回 false。</returns>
313 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
314 <exception cref="T:System.InvalidOperationException">
315 <see cref="P:System.Threading.CountdownEvent.CurrentCount" /> 等於 <see cref="F:System.Int32.MaxValue" />。</exception>
317 <member name="M:System.Threading.CountdownEvent.TryAddCount(System.Int32)">
318 <summary>嘗試以指定的值遞增 <see cref="P:System.Threading.CountdownEvent.CurrentCount" />。</summary>
319 <returns>如果遞增成功則為 true,否則為 false。如果 <see cref="P:System.Threading.CountdownEvent.CurrentCount" /> 已經為零,這將傳回 false。</returns>
320 <param name="signalCount">
321 <see cref="P:System.Threading.CountdownEvent.CurrentCount" /> 所要增加的值。</param>
322 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
323 <exception cref="T:System.ArgumentOutOfRangeException">
324 <paramref name="signalCount" /> 小於或等於 0。</exception>
325 <exception cref="T:System.InvalidOperationException">目前的執行個體已經設定。-或-<see cref="P:System.Threading.CountdownEvent.CurrentCount" /> + <paramref name="signalCount" />等於或大於 <see cref="F:System.Int32.MaxValue" />。</exception>
327 <member name="M:System.Threading.CountdownEvent.Wait">
328 <summary>封鎖目前的執行緒,直到設定了 <see cref="T:System.Threading.CountdownEvent" /> 為止。</summary>
329 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
331 <member name="M:System.Threading.CountdownEvent.Wait(System.Int32)">
332 <summary>封鎖目前的執行緒,直到設定了 <see cref="T:System.Threading.CountdownEvent" /> 為止 (使用 32 位元帶正負號的整數以測量逾時)。</summary>
333 <returns>如果已設定 <see cref="T:System.Threading.CountdownEvent" /> 則為 true,否則為 false。</returns>
334 <param name="millisecondsTimeout">要等候的毫秒數,如果要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" /> (-1)。</param>
335 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
336 <exception cref="T:System.ArgumentOutOfRangeException">
337 <paramref name="millisecondsTimeout" /> 是一個不等於 -1 的負數,-1 表示等候逾時為無限。</exception>
339 <member name="M:System.Threading.CountdownEvent.Wait(System.Int32,System.Threading.CancellationToken)">
340 <summary>封鎖目前的執行緒,直到設定了 <see cref="T:System.Threading.CountdownEvent" /> 為止 (使用 32 位元帶正負號的整數以測量逾時),同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
341 <returns>如果已設定 <see cref="T:System.Threading.CountdownEvent" /> 則為 true,否則為 false。</returns>
342 <param name="millisecondsTimeout">要等候的毫秒數,如果要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" /> (-1)。</param>
343 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
344 <exception cref="T:System.OperationCanceledException">
345 <paramref name="cancellationToken" /> 已取消。</exception>
346 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。-或者-已處置建立 <paramref name="cancellationToken" /> 的 <see cref="T:System.Threading.CancellationTokenSource" />。</exception>
347 <exception cref="T:System.ArgumentOutOfRangeException">
348 <paramref name="millisecondsTimeout" /> 是一個不等於 -1 的負數,-1 表示等候逾時為無限。</exception>
350 <member name="M:System.Threading.CountdownEvent.Wait(System.Threading.CancellationToken)">
351 <summary>封鎖目前的執行緒,直到設定了 <see cref="T:System.Threading.CountdownEvent" /> 為止,同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
352 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
353 <exception cref="T:System.OperationCanceledException">
354 <paramref name="cancellationToken" /> 已取消。</exception>
355 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。-或者-已處置建立 <paramref name="cancellationToken" /> 的 <see cref="T:System.Threading.CancellationTokenSource" />。</exception>
357 <member name="M:System.Threading.CountdownEvent.Wait(System.TimeSpan)">
358 <summary>封鎖目前的執行緒,直到設定了 <see cref="T:System.Threading.CountdownEvent" /> 為止 (使用 <see cref="T:System.TimeSpan" /> 以測量逾時)。</summary>
359 <returns>如果已設定 <see cref="T:System.Threading.CountdownEvent" /> 則為 true,否則為 false。</returns>
360 <param name="timeout">
361 <see cref="T:System.TimeSpan" />,表示要等候的毫秒數,或是 <see cref="T:System.TimeSpan" />,表示無限期等候的 -1 毫秒。</param>
362 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
363 <exception cref="T:System.ArgumentOutOfRangeException">
364 <paramref name="timeout" /> 是除了 -1 毫秒以外的負數,表示無限逾時,或是大於 <see cref="F:System.Int32.MaxValue" /> 的逾時。</exception>
366 <member name="M:System.Threading.CountdownEvent.Wait(System.TimeSpan,System.Threading.CancellationToken)">
367 <summary>封鎖目前的執行緒,直到設定了 <see cref="T:System.Threading.CountdownEvent" /> 為止 (使用 <see cref="T:System.TimeSpan" /> 以測量逾時),同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
368 <returns>如果已設定 <see cref="T:System.Threading.CountdownEvent" /> 則為 true,否則為 false。</returns>
369 <param name="timeout">
370 <see cref="T:System.TimeSpan" />,表示要等候的毫秒數,或是 <see cref="T:System.TimeSpan" />,表示無限期等候的 -1 毫秒。</param>
371 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
372 <exception cref="T:System.OperationCanceledException">
373 <paramref name="cancellationToken" /> 已取消。</exception>
374 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。-或者-已處置建立 <paramref name="cancellationToken" /> 的 <see cref="T:System.Threading.CancellationTokenSource" />。</exception>
375 <exception cref="T:System.ArgumentOutOfRangeException">
376 <paramref name="timeout" /> 是除了 -1 毫秒以外的負數,表示無限逾時,或是大於 <see cref="F:System.Int32.MaxValue" /> 的逾時。</exception>
378 <member name="P:System.Threading.CountdownEvent.WaitHandle">
379 <summary>取得用來等候事件獲得設定的 <see cref="T:System.Threading.WaitHandle" />。</summary>
381 <see cref="T:System.Threading.WaitHandle" />,其會用於等候事件獲得設定。</returns>
382 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
384 <member name="T:System.Threading.EventResetMode">
385 <summary>表示收到信號之後,是否會自動或手動重設 <see cref="T:System.Threading.EventWaitHandle" />。</summary>
386 <filterpriority>2</filterpriority>
388 <member name="F:System.Threading.EventResetMode.AutoReset">
389 <summary>收到信號通知時,<see cref="T:System.Threading.EventWaitHandle" /> 在釋放單一執行緒後會自動重設。如果沒有任何執行緒在等待,則 <see cref="T:System.Threading.EventWaitHandle" /> 會保持收到信號的狀態,直到有執行緒被封鎖為止,接著就釋放這個執行緒並將自己重設。</summary>
391 <member name="F:System.Threading.EventResetMode.ManualReset">
392 <summary>收到信號通知時,<see cref="T:System.Threading.EventWaitHandle" /> 會釋放所有正在等待的執行緒,並保持收到信號的狀態,直到被手動重設為止。</summary>
394 <member name="T:System.Threading.EventWaitHandle">
395 <summary>表示執行緒同步處理事件。</summary>
396 <filterpriority>2</filterpriority>
398 <member name="M:System.Threading.EventWaitHandle.#ctor(System.Boolean,System.Threading.EventResetMode)">
399 <summary>初始化 <see cref="T:System.Threading.EventWaitHandle" /> 類別的新執行個體、指定等候控制代碼是否一開始就會收到信號,以及是以自動還是手動方式來重設。</summary>
400 <param name="initialState">true 表示初始狀態設定為已收到信號,false 表示初始狀態設定為未收到信號。</param>
401 <param name="mode">其中一個 <see cref="T:System.Threading.EventResetMode" /> 值,判斷是以自動還是手動方式重設事件。</param>
403 <member name="M:System.Threading.EventWaitHandle.#ctor(System.Boolean,System.Threading.EventResetMode,System.String)">
404 <summary>初始化 <see cref="T:System.Threading.EventWaitHandle" /> 類別的新執行個體、指定等候控制代碼是否一開始就會收到信號 (如果它是因這個呼叫而建立)、是以自動還是手動方式進行重設,以及系統同步處理事件的名稱。</summary>
405 <param name="initialState">true 表示初始狀態設定為已收到信號 (如果具名事件是因這個呼叫而建立),false 表示初始狀態設定為未收到信號。</param>
406 <param name="mode">其中一個 <see cref="T:System.Threading.EventResetMode" /> 值,判斷是以自動還是手動方式重設事件。</param>
407 <param name="name">整個系統的同步處理事件名稱。</param>
408 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
409 <exception cref="T:System.UnauthorizedAccessException">具名的事件已存在,而且具有存取控制安全性,但是使用者沒有 <see cref="F:System.Security.AccessControl.EventWaitHandleRights.FullControl" />。</exception>
410 <exception cref="T:System.Threading.WaitHandleCannotBeOpenedException">無法建立具名的事件,可能是因為不同類型的等候控制代碼擁有相同名稱。</exception>
411 <exception cref="T:System.ArgumentException">
412 <paramref name="name" /> 長度超過 260 個字元。</exception>
414 <member name="M:System.Threading.EventWaitHandle.#ctor(System.Boolean,System.Threading.EventResetMode,System.String,System.Boolean@)">
415 <summary>初始化 <see cref="T:System.Threading.EventWaitHandle" /> 類別的新執行個體、指定等候控制代碼是否一開始就會收到信號 (如果它是因這個呼叫而建立)、是以自動還是手動方式進行重設、系統同步處理事件的名稱,以及呼叫之後的布林變數值 (此值可指示是否已建立具名系統事件)。</summary>
416 <param name="initialState">true 表示初始狀態設定為已收到信號 (如果具名事件是因這個呼叫而建立),false 表示初始狀態設定為未收到信號。</param>
417 <param name="mode">其中一個 <see cref="T:System.Threading.EventResetMode" /> 值,判斷是以自動還是手動方式重設事件。</param>
418 <param name="name">整個系統的同步處理事件名稱。</param>
419 <param name="createdNew">這個方法傳回時,如果已建立本機事件 (也就是說,如果 <paramref name="name" /> 為 null 或空字串),或是已建立指定的已命名系統事件,則會包含 true;如果指定的已命名系統事件已存在則為 false。這個參數會以未初始化的狀態傳遞。</param>
420 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
421 <exception cref="T:System.UnauthorizedAccessException">具名的事件已存在,而且具有存取控制安全性,但是使用者沒有 <see cref="F:System.Security.AccessControl.EventWaitHandleRights.FullControl" />。</exception>
422 <exception cref="T:System.Threading.WaitHandleCannotBeOpenedException">無法建立具名的事件,可能是因為不同類型的等候控制代碼擁有相同名稱。</exception>
423 <exception cref="T:System.ArgumentException">
424 <paramref name="name" /> 長度超過 260 個字元。</exception>
426 <member name="M:System.Threading.EventWaitHandle.OpenExisting(System.String)">
427 <summary>開啟指定的具名同步處理事件 (如果已經存在)。</summary>
428 <returns>表示具名系統事件的物件。</returns>
429 <param name="name">要開啟的系統同步處理事件的名稱。</param>
430 <exception cref="T:System.ArgumentException">
431 <paramref name="name" /> 為空字串。-或-<paramref name="name" /> 長度超過 260 個字元。</exception>
432 <exception cref="T:System.ArgumentNullException">
433 <paramref name="name" /> 為 null。</exception>
434 <exception cref="T:System.Threading.WaitHandleCannotBeOpenedException">具名系統事件不存在。</exception>
435 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
436 <exception cref="T:System.UnauthorizedAccessException">具名事件存在,但是使用者並沒有使用它所需的安全性存取權。</exception>
437 <filterpriority>1</filterpriority>
439 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
442 <member name="M:System.Threading.EventWaitHandle.Reset">
443 <summary>將事件的狀態設定為未收到信號,會造成執行緒封鎖。</summary>
444 <returns>如果作業成功,則為 true,否則為 false .</returns>
445 <exception cref="T:System.ObjectDisposedException">之前在這個 <see cref="T:System.Threading.EventWaitHandle" /> 上呼叫 <see cref="M:System.Threading.EventWaitHandle.Close" /> 方法。</exception>
446 <filterpriority>2</filterpriority>
448 <member name="M:System.Threading.EventWaitHandle.Set">
449 <summary>將事件的狀態設定為未收到信號,讓一個或多個等候執行緒繼續執行。</summary>
450 <returns>如果作業成功,則為 true,否則為 false .</returns>
451 <exception cref="T:System.ObjectDisposedException">之前在這個 <see cref="T:System.Threading.EventWaitHandle" /> 上呼叫 <see cref="M:System.Threading.EventWaitHandle.Close" /> 方法。</exception>
452 <filterpriority>2</filterpriority>
454 <member name="M:System.Threading.EventWaitHandle.TryOpenExisting(System.String,System.Threading.EventWaitHandle@)">
455 <summary>開啟指定的具名同步處理事件 (如果已經存在),並傳回值,指出作業是否成功。</summary>
456 <returns>如果已成功開啟具名同步處理事件,則為 true,否則為 false。</returns>
457 <param name="name">要開啟的系統同步處理事件的名稱。</param>
458 <param name="result">這個方法傳回時,如果呼叫成功,則包含<see cref="T:System.Threading.EventWaitHandle" />物件,此物件代表具名同步處理事件,如果呼叫失敗,則為null。這個參數會被視為未初始化。</param>
459 <exception cref="T:System.ArgumentException">
460 <paramref name="name" /> 為空字串。-或-<paramref name="name" /> 長度超過 260 個字元。</exception>
461 <exception cref="T:System.ArgumentNullException">
462 <paramref name="name" /> 為 null。</exception>
463 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
464 <exception cref="T:System.UnauthorizedAccessException">具名事件已存在,但是使用者沒有所需的安全性存取權。</exception>
466 <member name="T:System.Threading.ExecutionContext">
467 <summary>管理目前執行緒的執行內容。此類別無法被繼承。</summary>
468 <filterpriority>2</filterpriority>
470 <member name="M:System.Threading.ExecutionContext.Capture">
471 <summary>從目前的執行緒擷取執行內容。</summary>
473 <see cref="T:System.Threading.ExecutionContext" /> 物件,表示目前執行緒的執行內容。</returns>
474 <filterpriority>1</filterpriority>
476 <member name="M:System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)">
477 <summary>在目前執行緒上的指定執行內容中執行方法。</summary>
478 <param name="executionContext">要設定的 <see cref="T:System.Threading.ExecutionContext" />。</param>
479 <param name="callback">
480 <see cref="T:System.Threading.ContextCallback" /> 委派,表示要在所提供執行內容中執行的方法。</param>
481 <param name="state">要傳遞至回呼 (Callback) 方法的物件。</param>
482 <exception cref="T:System.InvalidOperationException">
483 <paramref name="executionContext" /> 為 null。-或-<paramref name="executionContext" /> 不是透過擷取作業取得。-或-已經將 <paramref name="executionContext" /> 當做 <see cref="M:System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)" /> 呼叫的引數使用。</exception>
484 <filterpriority>1</filterpriority>
486 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="Infrastructure" />
489 <member name="T:System.Threading.Interlocked">
490 <summary>為多重執行緒共用的變數提供不可部分完成的作業 (Atomic Operation)。</summary>
491 <filterpriority>2</filterpriority>
493 <member name="M:System.Threading.Interlocked.Add(System.Int32@,System.Int32)">
494 <summary>將兩個 32 位元整數加相,並以總和取代第一個整數,成為不可部分完成的作業。</summary>
495 <returns>新值儲存於 <paramref name="location1" />。</returns>
496 <param name="location1">包含要加入的第一個值的變數。這兩個值的總和會存放在 <paramref name="location1" /> 中。</param>
497 <param name="value">要加入 <paramref name="location1" /> 的整數的值。</param>
498 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
499 <filterpriority>1</filterpriority>
501 <member name="M:System.Threading.Interlocked.Add(System.Int64@,System.Int64)">
502 <summary>將兩個 64 位元整數加相,並以總和取代第一個整數,成為不可部分完成的作業。</summary>
503 <returns>新值儲存於 <paramref name="location1" />。</returns>
504 <param name="location1">包含要加入的第一個值的變數。這兩個值的總和會存放在 <paramref name="location1" /> 中。</param>
505 <param name="value">要加入 <paramref name="location1" /> 的整數的值。</param>
506 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
507 <filterpriority>1</filterpriority>
509 <member name="M:System.Threading.Interlocked.CompareExchange(System.Double@,System.Double,System.Double)">
510 <summary>比較兩個雙精確度浮點數是否相等;如果相等,則取代第一個值。</summary>
512 <paramref name="location1" /> 中的原始值。</returns>
513 <param name="location1">目的端,其值會與 <paramref name="comparand" /> 進行比較且可能已被取代。</param>
514 <param name="value">當比較的結果相等時,會取代目的端值的值。</param>
515 <param name="comparand">與 <paramref name="location1" /> 的值比較的值。</param>
516 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
517 <filterpriority>1</filterpriority>
519 <member name="M:System.Threading.Interlocked.CompareExchange(System.Int32@,System.Int32,System.Int32)">
520 <summary>比較兩個 32 位元帶正負號的整數是否相等,如果相等,則取代第一個值。</summary>
522 <paramref name="location1" /> 中的原始值。</returns>
523 <param name="location1">目的端,其值會與 <paramref name="comparand" /> 進行比較且可能已被取代。</param>
524 <param name="value">當比較的結果相等時,會取代目的端值的值。</param>
525 <param name="comparand">與 <paramref name="location1" /> 的值比較的值。</param>
526 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
527 <filterpriority>1</filterpriority>
529 <member name="M:System.Threading.Interlocked.CompareExchange(System.Int64@,System.Int64,System.Int64)">
530 <summary>比較兩個 64 位元帶正負號的整數是否相等,如果相等,則取代第一個值。</summary>
532 <paramref name="location1" /> 中的原始值。</returns>
533 <param name="location1">目的端,其值會與 <paramref name="comparand" /> 進行比較且可能已被取代。</param>
534 <param name="value">當比較的結果相等時,會取代目的端值的值。</param>
535 <param name="comparand">與 <paramref name="location1" /> 的值比較的值。</param>
536 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
537 <filterpriority>1</filterpriority>
539 <member name="M:System.Threading.Interlocked.CompareExchange(System.IntPtr@,System.IntPtr,System.IntPtr)">
540 <summary>比較兩個平台特定的控制代碼或指標是否相等;如果相等,則取代第一個。</summary>
542 <paramref name="location1" /> 中的原始值。</returns>
543 <param name="location1">目的端 <see cref="T:System.IntPtr" />,其值會與 <paramref name="comparand" /> 的值進行比較,且可能被 <paramref name="value" /> 所取代。</param>
545 <see cref="T:System.IntPtr" />,當比較的結果相等時會取代目的端值。</param>
546 <param name="comparand">
547 <see cref="T:System.IntPtr" />,會與 <paramref name="location1" /> 的值相比較。</param>
548 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
549 <filterpriority>1</filterpriority>
551 <member name="M:System.Threading.Interlocked.CompareExchange(System.Object@,System.Object,System.Object)">
552 <summary>比較兩個物件的參考是否相等;如果相等,則取代第一個物件。</summary>
554 <paramref name="location1" /> 中的原始值。</returns>
555 <param name="location1">目的端物件,此物件會與 <paramref name="comparand" /> 進行比較且可能被取代。</param>
556 <param name="value">當比較的結果相等時,會取代目的端物件的物件。</param>
557 <param name="comparand">與 <paramref name="location1" /> 的物件相比較的物件。</param>
558 <exception cref="T:System.ArgumentNullException">The address of <paramref name="location1" /> is a null pointer. </exception>
559 <filterpriority>1</filterpriority>
561 <member name="M:System.Threading.Interlocked.CompareExchange(System.Single@,System.Single,System.Single)">
562 <summary>比較兩個單精確度浮點數是否相等;如果相等,則取代第一個值。</summary>
564 <paramref name="location1" /> 中的原始值。</returns>
565 <param name="location1">目的端,其值會與 <paramref name="comparand" /> 進行比較且可能已被取代。</param>
566 <param name="value">當比較的結果相等時,會取代目的端值的值。</param>
567 <param name="comparand">與 <paramref name="location1" /> 的值比較的值。</param>
568 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
569 <filterpriority>1</filterpriority>
571 <member name="M:System.Threading.Interlocked.CompareExchange``1(``0@,``0,``0)">
572 <summary>比較指定參考類型 <paramref name="T" /> 的兩個執行個體是否相等;如果相等,則取代第一個。</summary>
574 <paramref name="location1" /> 中的原始值。</returns>
575 <param name="location1">目的端,其值會與 <paramref name="comparand" /> 進行比較且可能已被取代。此為參考參數 (在 C# 中為 ref,在 Visual Basic 中為 ByRef)。</param>
576 <param name="value">當比較的結果相等時,會取代目的端值的值。</param>
577 <param name="comparand">與 <paramref name="location1" /> 的值比較的值。</param>
578 <typeparam name="T">要用於 <paramref name="location1" />、<paramref name="value" /> 和 <paramref name="comparand" /> 的類型。此類型必須是參考類型。</typeparam>
579 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
581 <member name="M:System.Threading.Interlocked.Decrement(System.Int32@)">
582 <summary>遞減特定變數並將結果儲存起來,成為不可部分完成的作業。</summary>
583 <returns>遞減後的值。</returns>
584 <param name="location">值會被遞減的變數。</param>
585 <exception cref="T:System.ArgumentNullException">The address of <paramref name="location" /> is a null pointer. </exception>
586 <filterpriority>1</filterpriority>
588 <member name="M:System.Threading.Interlocked.Decrement(System.Int64@)">
589 <summary>遞減特定變數並將結果儲存起來,成為不可部分完成的作業。</summary>
590 <returns>遞減後的值。</returns>
591 <param name="location">值會被遞減的變數。</param>
592 <exception cref="T:System.ArgumentNullException">The address of <paramref name="location" /> is a null pointer. </exception>
593 <filterpriority>1</filterpriority>
595 <member name="M:System.Threading.Interlocked.Exchange(System.Double@,System.Double)">
596 <summary>將雙精確度浮點數設定為指定值,然後傳回原始值,成為不可部分完成的作業。</summary>
598 <paramref name="location1" /> 的原始值。</returns>
599 <param name="location1">要設定為特定值的變數。</param>
601 <paramref name="location1" /> 參數要設定成的值。</param>
602 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
603 <filterpriority>1</filterpriority>
605 <member name="M:System.Threading.Interlocked.Exchange(System.Int32@,System.Int32)">
606 <summary>將 32 位元帶正負號的整數設定為指定值,然後傳回原始值,成為不可部分完成的作業。</summary>
608 <paramref name="location1" /> 的原始值。</returns>
609 <param name="location1">要設定為特定值的變數。</param>
611 <paramref name="location1" /> 參數要設定成的值。</param>
612 <exception cref="T:System.ArgumentNullException">The address of <paramref name="location1" /> is a null pointer. </exception>
613 <filterpriority>1</filterpriority>
615 <member name="M:System.Threading.Interlocked.Exchange(System.Int64@,System.Int64)">
616 <summary>將 64 位元帶正負號的整數設定為指定值,然後傳回原始值,成為不可部分完成的作業。</summary>
618 <paramref name="location1" /> 的原始值。</returns>
619 <param name="location1">要設定為特定值的變數。</param>
621 <paramref name="location1" /> 參數要設定成的值。</param>
622 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
623 <filterpriority>1</filterpriority>
625 <member name="M:System.Threading.Interlocked.Exchange(System.IntPtr@,System.IntPtr)">
626 <summary>將平台特定的控制代碼或指標設定為指定值,然後傳回原始值,成為不可部分完成的作業。</summary>
628 <paramref name="location1" /> 的原始值。</returns>
629 <param name="location1">要設定為特定值的變數。</param>
631 <paramref name="location1" /> 參數要設定成的值。</param>
632 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
633 <filterpriority>1</filterpriority>
635 <member name="M:System.Threading.Interlocked.Exchange(System.Object@,System.Object)">
636 <summary>將物件設定為指定值,然後傳回原始物件的參考,成為不可部分完成的作業。</summary>
638 <paramref name="location1" /> 的原始值。</returns>
639 <param name="location1">要設定為特定值的變數。</param>
641 <paramref name="location1" /> 參數要設定成的值。</param>
642 <exception cref="T:System.ArgumentNullException">The address of <paramref name="location1" /> is a null pointer. </exception>
643 <filterpriority>1</filterpriority>
645 <member name="M:System.Threading.Interlocked.Exchange(System.Single@,System.Single)">
646 <summary>將單精確度浮點數設定為指定值,然後傳回原始值,成為不可部分完成的作業。</summary>
648 <paramref name="location1" /> 的原始值。</returns>
649 <param name="location1">要設定為特定值的變數。</param>
651 <paramref name="location1" /> 參數要設定成的值。</param>
652 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
653 <filterpriority>1</filterpriority>
655 <member name="M:System.Threading.Interlocked.Exchange``1(``0@,``0)">
656 <summary>將指定類型 <paramref name="T" /> 的變數設定為指定值,然後傳回原始值,成為不可部分完成的作業。</summary>
658 <paramref name="location1" /> 的原始值。</returns>
659 <param name="location1">要設定為特定值的變數。此為參考參數 (在 C# 中為 ref,在 Visual Basic 中為 ByRef)。</param>
661 <paramref name="location1" /> 參數要設定成的值。</param>
662 <typeparam name="T">要用於 <paramref name="location1" /> 和 <paramref name="value" /> 的類型。此類型必須是參考類型。</typeparam>
663 <exception cref="T:System.NullReferenceException">The address of <paramref name="location1" /> is a null pointer. </exception>
665 <member name="M:System.Threading.Interlocked.Increment(System.Int32@)">
666 <summary>遞增特定變數並將結果儲存起來,成為不可部分完成的作業。</summary>
667 <returns>遞增後的值。</returns>
668 <param name="location">值會被遞增的變數。</param>
669 <exception cref="T:System.NullReferenceException">The address of <paramref name="location" /> is a null pointer. </exception>
670 <filterpriority>1</filterpriority>
672 <member name="M:System.Threading.Interlocked.Increment(System.Int64@)">
673 <summary>遞增特定變數並將結果儲存起來,成為不可部分完成的作業。</summary>
674 <returns>遞增後的值。</returns>
675 <param name="location">值會被遞增的變數。</param>
676 <exception cref="T:System.NullReferenceException">The address of <paramref name="location" /> is a null pointer. </exception>
677 <filterpriority>1</filterpriority>
679 <member name="M:System.Threading.Interlocked.MemoryBarrier">
680 <summary>同步處理記憶體存取,如下所示:執行目前執行緒的處理器無法以下列方式重新排列指示:呼叫 <see cref="M:System.Threading.Interlocked.MemoryBarrier" /> 之前的記憶體存取在呼叫 <see cref="M:System.Threading.Interlocked.MemoryBarrier" /> 後的記憶體存取之後執行。</summary>
682 <member name="M:System.Threading.Interlocked.Read(System.Int64@)">
683 <summary>傳回 64 位元的值 (載入為不可部分完成的作業)。</summary>
684 <returns>載入的值。</returns>
685 <param name="location">要載入的 64 位元值。</param>
686 <filterpriority>1</filterpriority>
688 <member name="T:System.Threading.LazyInitializer">
689 <summary>提供延遲初始化常式。</summary>
691 <member name="M:System.Threading.LazyInitializer.EnsureInitialized``1(``0@)">
692 <summary>如果目標參考型別尚未初始化,則使用該型別的預設建構函式來進行初始化。</summary>
693 <returns>型別 <paramref name="T" /> 的已初始化參考。</returns>
694 <param name="target">要初始化 (如果尚未初始化) 的型別 <paramref name="T" /> 的參考。</param>
695 <typeparam name="T">要初始化之參考的型別。</typeparam>
696 <exception cref="T:System.MemberAccessException">缺少存取型別 <paramref name="T" />之建構函式的使用權限。</exception>
697 <exception cref="T:System.MissingMemberException">
698 <paramref name="T" /> 型別沒有預設的建構函式。</exception>
700 <member name="M:System.Threading.LazyInitializer.EnsureInitialized``1(``0@,System.Boolean@,System.Object@)">
701 <summary>如果目標型別尚未初始化,則使用其預設建構函式來初始化目標的參考型別或實值型別。</summary>
702 <returns>型別 <paramref name="T" /> 的已初始化實值。</returns>
703 <param name="target">要初始化 (如果尚未初始化) 的型別 <paramref name="T" /> 的參考或實值。</param>
704 <param name="initialized">布林值的參考,這個值可判斷目標是否已初始化。</param>
705 <param name="syncLock">物件的參考,這個物件用來當做初始化 <paramref name="target" /> 時的互斥鎖定。如果 <paramref name="syncLock" /> 為 null,則具現化新的物件。</param>
706 <typeparam name="T">要初始化之參考的型別。</typeparam>
707 <exception cref="T:System.MemberAccessException">缺少存取型別 <paramref name="T" />之建構函式的使用權限。</exception>
708 <exception cref="T:System.MissingMemberException">
709 <paramref name="T" /> 型別沒有預設的建構函式。</exception>
711 <member name="M:System.Threading.LazyInitializer.EnsureInitialized``1(``0@,System.Boolean@,System.Object@,System.Func{``0})">
712 <summary>如果目標型別尚未初始化,則使用指定的函式來初始化目標的參考或實值型別。</summary>
713 <returns>型別 <paramref name="T" /> 的已初始化實值。</returns>
714 <param name="target">要初始化 (如果尚未初始化) 的型別 <paramref name="T" /> 的參考或實值。</param>
715 <param name="initialized">布林值的參考,這個值可判斷目標是否已初始化。</param>
716 <param name="syncLock">物件的參考,這個物件用來當做初始化 <paramref name="target" /> 時的互斥鎖定。如果 <paramref name="syncLock" /> 為 null,則具現化新的物件。</param>
717 <param name="valueFactory">呼叫來初始化參考或值的函式。</param>
718 <typeparam name="T">要初始化之參考的型別。</typeparam>
719 <exception cref="T:System.MemberAccessException">缺少存取型別 <paramref name="T" />之建構函式的使用權限。</exception>
720 <exception cref="T:System.MissingMemberException">
721 <paramref name="T" /> 型別沒有預設的建構函式。</exception>
723 <member name="M:System.Threading.LazyInitializer.EnsureInitialized``1(``0@,System.Func{``0})">
724 <summary>如果目標型別尚未初始化,則使用指定的函式來初始化目標的參考型別。</summary>
725 <returns>型別 <paramref name="T" /> 的已初始化實值。</returns>
726 <param name="target">要初始化 (如果尚未初始化) 的型別 <paramref name="T" /> 的參考。</param>
727 <param name="valueFactory">呼叫來初始化參考的函式。</param>
728 <typeparam name="T">要初始化之參考的參考型別。</typeparam>
729 <exception cref="T:System.MissingMemberException">
730 <paramref name="T" /> 型別沒有預設的建構函式。</exception>
731 <exception cref="T:System.InvalidOperationException">
732 <paramref name="valueFactory" />傳回 null (在 Visual Basic 中為 Nothing)。</exception>
734 <member name="T:System.Threading.LockRecursionException">
735 <summary>當遞迴進入鎖定與鎖定的遞迴原則不相符時,擲回的例外狀況。</summary>
736 <filterpriority>2</filterpriority>
738 <member name="M:System.Threading.LockRecursionException.#ctor">
739 <summary>以系統提供的錯誤說明訊息,初始化 <see cref="T:System.Threading.LockRecursionException" /> 類別的新執行個體。</summary>
740 <filterpriority>2</filterpriority>
742 <member name="M:System.Threading.LockRecursionException.#ctor(System.String)">
743 <summary>使用指定的錯誤說明訊息,初始化 <see cref="T:System.Threading.LockRecursionException" /> 類別的新執行個體。</summary>
744 <param name="message">說明例外狀況的訊息。這個建構函式的呼叫端必須確保這個字串已針對目前系統的文化特性,執行過當地語系化。</param>
745 <filterpriority>2</filterpriority>
747 <member name="M:System.Threading.LockRecursionException.#ctor(System.String,System.Exception)">
748 <summary>使用指定的錯誤訊息和造成這個例外狀況原因的內部例外狀況參考,初始化 <see cref="T:System.Threading.LockRecursionException" /> 類別的新執行個體。</summary>
749 <param name="message">說明例外狀況的訊息。這個建構函式的呼叫端必須確保這個字串已針對目前系統的文化特性,執行過當地語系化。</param>
750 <param name="innerException">造成目前例外狀況的例外狀況。如果 <paramref name="innerException" /> 參數不是 null,則目前的例外狀況會在處理內部例外的 catch 區塊中引發。</param>
751 <filterpriority>2</filterpriority>
753 <member name="T:System.Threading.LockRecursionPolicy">
754 <summary>指定相同的執行緒是否可以多次進入鎖定。</summary>
756 <member name="F:System.Threading.LockRecursionPolicy.NoRecursion">
757 <summary>如果執行緒嘗試遞迴地進入鎖定,則會擲回例外狀況。某些類別可能會在此設定有效時允許特定的遞迴。</summary>
759 <member name="F:System.Threading.LockRecursionPolicy.SupportsRecursion">
760 <summary>執行緒可以遞迴地進入鎖定。某些類別可能會限制此功能。</summary>
762 <member name="T:System.Threading.ManualResetEvent">
763 <summary>告知一個以上的等候中執行緒已發生事件。此類別無法被繼承。</summary>
764 <filterpriority>2</filterpriority>
766 <member name="M:System.Threading.ManualResetEvent.#ctor(System.Boolean)">
767 <summary>使用布林值 (Boolean) 來初始化 <see cref="T:System.Threading.ManualResetEvent" /> 類別的新執行個體,指出初始狀態是否設定為信號狀態。</summary>
768 <param name="initialState">如果初始狀態設定為信號狀態,為 true;初始狀態設定為非信號狀態則為 false。</param>
770 <member name="T:System.Threading.ManualResetEventSlim">
771 <summary>提供 <see cref="T:System.Threading.ManualResetEvent" /> 的精簡版本。</summary>
773 <member name="M:System.Threading.ManualResetEventSlim.#ctor">
774 <summary>使用未收到訊號的初始狀態來初始化 <see cref="T:System.Threading.ManualResetEventSlim" /> 類別的新執行個體。</summary>
776 <member name="M:System.Threading.ManualResetEventSlim.#ctor(System.Boolean)">
777 <summary>使用表示是否要將初始狀態設定為已收到訊號的布林值,初始化 <see cref="T:System.Threading.ManualResetEventSlim" /> 類別的新執行個體。</summary>
778 <param name="initialState">true 表示會將初始狀態設定為已收到訊號,false 表示會將初始狀態設定為未收到訊號。</param>
780 <member name="M:System.Threading.ManualResetEventSlim.#ctor(System.Boolean,System.Int32)">
781 <summary>使用表示是否要將初始狀態設定為已收到訊號的布林值以及指定的微調計數,初始化 <see cref="T:System.Threading.ManualResetEventSlim" /> 類別的新執行個體。</summary>
782 <param name="initialState">true 表示會將初始狀態設定為已收到訊號,false 表示會將初始狀態設定為未收到訊號。</param>
783 <param name="spinCount">在回到以核心為基礎的等候作業之前進行微調等候的次數。</param>
784 <exception cref="T:System.ArgumentOutOfRangeException">
785 <paramref name="spinCount" /> is less than 0 or greater than the maximum allowed value.</exception>
787 <member name="M:System.Threading.ManualResetEventSlim.Dispose">
788 <summary>將 <see cref="T:System.Threading.ManualResetEventSlim" /> 類別目前的執行個體所使用的資源全部釋出。</summary>
790 <member name="M:System.Threading.ManualResetEventSlim.Dispose(System.Boolean)">
791 <summary>釋放 <see cref="T:System.Threading.ManualResetEventSlim" /> 所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。</summary>
792 <param name="disposing">true 表示釋放 Managed 與 Unmanaged 資源,false 表示只釋放 Unmanaged 資源。</param>
794 <member name="P:System.Threading.ManualResetEventSlim.IsSet">
795 <summary>取得值,表示事件是否已設定。</summary>
796 <returns>如果已設定事件則為 true,否則為 false。</returns>
798 <member name="M:System.Threading.ManualResetEventSlim.Reset">
799 <summary>將事件的狀態設定為未收到信號,會造成執行緒封鎖。</summary>
800 <exception cref="T:System.ObjectDisposedException">The object has already been disposed.</exception>
802 <member name="M:System.Threading.ManualResetEventSlim.Set">
803 <summary>將事件的狀態設定為已收到訊號,讓正在等候該事件的一或多個執行緒繼續執行。</summary>
805 <member name="P:System.Threading.ManualResetEventSlim.SpinCount">
806 <summary>取得在回到以核心為基礎的等候作業之前進行微調等候的次數。</summary>
807 <returns>傳回在回到以核心為基礎的等候作業之前進行微調等候的次數。</returns>
809 <member name="M:System.Threading.ManualResetEventSlim.Wait">
810 <summary>封鎖目前的執行緒,直到設定了目前的 <see cref="T:System.Threading.ManualResetEventSlim" /> 為止。</summary>
811 <exception cref="T:System.InvalidOperationException">The maximum number of waiters has been exceeded.</exception>
812 <exception cref="T:System.ObjectDisposedException">The object has already been disposed.</exception>
814 <member name="M:System.Threading.ManualResetEventSlim.Wait(System.Int32)">
815 <summary>封鎖目前的執行緒,直到設定了目前的 <see cref="T:System.Threading.ManualResetEventSlim" /> 為止 (使用 32 位元帶正負號的整數以測量時間間隔)。</summary>
816 <returns>如果設定了 <see cref="T:System.Threading.ManualResetEventSlim" />,則為 true,否則為 false。</returns>
817 <param name="millisecondsTimeout">要等候的毫秒數,如果要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" /> (-1)。</param>
818 <exception cref="T:System.ArgumentOutOfRangeException">
819 <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
820 <exception cref="T:System.InvalidOperationException">The maximum number of waiters has been exceeded.</exception>
821 <exception cref="T:System.ObjectDisposedException">The object has already been disposed.</exception>
823 <member name="M:System.Threading.ManualResetEventSlim.Wait(System.Int32,System.Threading.CancellationToken)">
824 <summary>封鎖目前的執行緒,直到設定了目前的 <see cref="T:System.Threading.ManualResetEventSlim" /> 為止,並使用 32 位元帶正負號的整數以測量時間間隔,同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
825 <returns>如果設定了 <see cref="T:System.Threading.ManualResetEventSlim" />,則為 true,否則為 false。</returns>
826 <param name="millisecondsTimeout">要等候的毫秒數,如果要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" /> (-1)。</param>
827 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
828 <exception cref="T:System.OperationCanceledException">
829 <paramref name="cancellationToken" /> was canceled.</exception>
830 <exception cref="T:System.ArgumentOutOfRangeException">
831 <paramref name="millisecondsTimeout" /> is a negative number other than -1, which represents an infinite time-out.</exception>
832 <exception cref="T:System.InvalidOperationException">The maximum number of waiters has been exceeded.</exception>
833 <exception cref="T:System.ObjectDisposedException">The object has already been disposed or the <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has been disposed.</exception>
835 <member name="M:System.Threading.ManualResetEventSlim.Wait(System.Threading.CancellationToken)">
836 <summary>封鎖目前的執行緒,直到目前的 <see cref="T:System.Threading.ManualResetEventSlim" /> 收到訊號為止,同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
837 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
838 <exception cref="T:System.InvalidOperationException">The maximum number of waiters has been exceeded.</exception>
839 <exception cref="T:System.OperationCanceledException">
840 <paramref name="cancellationToken" /> was canceled.</exception>
841 <exception cref="T:System.ObjectDisposedException">The object has already been disposed or the <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has been disposed.</exception>
843 <member name="M:System.Threading.ManualResetEventSlim.Wait(System.TimeSpan)">
844 <summary>封鎖目前的執行緒,直到設定了目前的 <see cref="T:System.Threading.ManualResetEventSlim" /> 為止,並使用 <see cref="T:System.TimeSpan" /> 以測量時間間隔。</summary>
845 <returns>如果設定了 <see cref="T:System.Threading.ManualResetEventSlim" />,則為 true,否則為 false。</returns>
846 <param name="timeout">
847 <see cref="T:System.TimeSpan" />,表示要等候的毫秒數,或是 <see cref="T:System.TimeSpan" />,表示無限期等候的 -1 毫秒。</param>
848 <exception cref="T:System.ArgumentOutOfRangeException">
849 <paramref name="timeout" /> is a negative number other than -1 milliseconds, which represents an infinite time-out. -or-The number of milliseconds in <paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
850 <exception cref="T:System.InvalidOperationException">The maximum number of waiters has been exceeded.</exception>
851 <exception cref="T:System.ObjectDisposedException">The object has already been disposed.</exception>
853 <member name="M:System.Threading.ManualResetEventSlim.Wait(System.TimeSpan,System.Threading.CancellationToken)">
854 <summary>封鎖目前的執行緒,直到設定了目前的 <see cref="T:System.Threading.ManualResetEventSlim" /> 為止,並使用 <see cref="T:System.TimeSpan" /> 以量測時間間隔,同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
855 <returns>如果設定了 <see cref="T:System.Threading.ManualResetEventSlim" />,則為 true,否則為 false。</returns>
856 <param name="timeout">
857 <see cref="T:System.TimeSpan" />,表示要等候的毫秒數,或是 <see cref="T:System.TimeSpan" />,表示無限期等候的 -1 毫秒。</param>
858 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
859 <exception cref="T:System.OperationCanceledException">
860 <paramref name="cancellationToken" /> was canceled.</exception>
861 <exception cref="T:System.ArgumentOutOfRangeException">
862 <paramref name="timeout" /> is a negative number other than -1 milliseconds, which represents an infinite time-out. -or-The number of milliseconds in <paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" />. </exception>
863 <exception cref="T:System.InvalidOperationException">The maximum number of waiters has been exceeded. </exception>
864 <exception cref="T:System.ObjectDisposedException">The object has already been disposed or the <see cref="T:System.Threading.CancellationTokenSource" /> that created <paramref name="cancellationToken" /> has been disposed.</exception>
866 <member name="P:System.Threading.ManualResetEventSlim.WaitHandle">
867 <summary>取得這個 <see cref="T:System.Threading.ManualResetEventSlim" /> 的基礎 <see cref="T:System.Threading.WaitHandle" /> 物件。</summary>
868 <returns>這個 <see cref="T:System.Threading.ManualResetEventSlim" /> 的基礎 <see cref="T:System.Threading.WaitHandle" /> 事件物件。</returns>
870 <member name="T:System.Threading.Monitor">
871 <summary>提供一套機制,同步處理物件的存取。</summary>
872 <filterpriority>2</filterpriority>
874 <member name="M:System.Threading.Monitor.Enter(System.Object)">
875 <summary>取得指定物件的獨佔鎖定。</summary>
876 <param name="obj">要從其上取得監視器鎖定的物件。</param>
877 <exception cref="T:System.ArgumentNullException">
878 <paramref name="obj" /> 參數為 null。</exception>
879 <filterpriority>1</filterpriority>
881 <member name="M:System.Threading.Monitor.Enter(System.Object,System.Boolean@)">
882 <summary>取得指定之物件的獨佔鎖定,並且完整設定值,指出是否採用鎖定。</summary>
883 <param name="obj">要等候的物件。</param>
884 <param name="lockTaken">嘗試取得鎖定的結果 (以傳址方式傳遞)。輸入必須是 false。如果已取得鎖定,輸出就是 true;否則輸出為 false。嘗試取得鎖定期間,即使發生例外狀況,仍然會設定輸出。注意:如果沒有發生例外狀況,這個方法的輸出一律為 true。</param>
885 <exception cref="T:System.ArgumentException">
886 <paramref name="lockTaken" /> 的輸入為 true。</exception>
887 <exception cref="T:System.ArgumentNullException">
888 <paramref name="obj" /> 參數為 null。</exception>
890 <member name="M:System.Threading.Monitor.Exit(System.Object)">
891 <summary>釋出指定物件的獨佔鎖定。</summary>
892 <param name="obj">要從其上釋出鎖定的物件。</param>
893 <exception cref="T:System.ArgumentNullException">
894 <paramref name="obj" /> 參數為 null。</exception>
895 <exception cref="T:System.Threading.SynchronizationLockException">目前執行緒沒有指定物件的鎖定。</exception>
896 <filterpriority>1</filterpriority>
898 <member name="M:System.Threading.Monitor.IsEntered(System.Object)">
899 <summary>判斷目前執行緒是否保持鎖定指定的物件。</summary>
900 <returns>如果目前的執行緒持有 <paramref name="obj" /> 的鎖定,則為 true;否則為 false。</returns>
901 <param name="obj">要測試的物件。</param>
902 <exception cref="T:System.ArgumentNullException">
903 <paramref name="obj" /> 為 null。</exception>
905 <member name="M:System.Threading.Monitor.Pulse(System.Object)">
906 <summary>通知等候佇列中的執行緒,鎖定物件的狀態有所變更。</summary>
907 <param name="obj">執行緒正等候的物件。</param>
908 <exception cref="T:System.ArgumentNullException">
909 <paramref name="obj" /> 參數為 null。</exception>
910 <exception cref="T:System.Threading.SynchronizationLockException">呼叫執行緒沒有指定物件的鎖定。</exception>
911 <filterpriority>1</filterpriority>
913 <member name="M:System.Threading.Monitor.PulseAll(System.Object)">
914 <summary>通知所有等候中的執行緒,物件的狀態有所變更。</summary>
915 <param name="obj">送出 Pulse 的物件。</param>
916 <exception cref="T:System.ArgumentNullException">
917 <paramref name="obj" /> 參數為 null。</exception>
918 <exception cref="T:System.Threading.SynchronizationLockException">呼叫執行緒沒有指定物件的鎖定。</exception>
919 <filterpriority>1</filterpriority>
921 <member name="M:System.Threading.Monitor.TryEnter(System.Object)">
922 <summary>嘗試取得指定物件的獨佔鎖定。</summary>
923 <returns>如果目前執行緒取得鎖定,則為 true;否則為 false。</returns>
924 <param name="obj">要取得鎖定的物件。</param>
925 <exception cref="T:System.ArgumentNullException">
926 <paramref name="obj" /> 參數為 null。</exception>
927 <filterpriority>1</filterpriority>
929 <member name="M:System.Threading.Monitor.TryEnter(System.Object,System.Boolean@)">
930 <summary>嘗試取得指定之物件的獨佔鎖定,並且完整設定值,指出是否採用鎖定。</summary>
931 <param name="obj">要取得鎖定的物件。</param>
932 <param name="lockTaken">嘗試取得鎖定的結果 (以傳址方式傳遞)。輸入必須是 false。如果已取得鎖定,輸出就是 true;否則輸出為 false。嘗試取得鎖定期間,即使發生例外狀況,仍然會設定輸出。</param>
933 <exception cref="T:System.ArgumentException">
934 <paramref name="lockTaken" /> 的輸入為 true。</exception>
935 <exception cref="T:System.ArgumentNullException">
936 <paramref name="obj" /> 參數為 null。</exception>
938 <member name="M:System.Threading.Monitor.TryEnter(System.Object,System.Int32)">
939 <summary>嘗試取得指定物件的獨佔鎖定 (在指定的毫秒數時間內)。</summary>
940 <returns>如果目前執行緒取得鎖定,則為 true;否則為 false。</returns>
941 <param name="obj">要取得鎖定的物件。</param>
942 <param name="millisecondsTimeout">等候鎖定的毫秒數。</param>
943 <exception cref="T:System.ArgumentNullException">
944 <paramref name="obj" /> 參數為 null。</exception>
945 <exception cref="T:System.ArgumentOutOfRangeException">
946 <paramref name="millisecondsTimeout" /> 為負,且不等於 <see cref="F:System.Threading.Timeout.Infinite" />。</exception>
947 <filterpriority>1</filterpriority>
949 <member name="M:System.Threading.Monitor.TryEnter(System.Object,System.Int32,System.Boolean@)">
950 <summary>嘗試在指定的毫秒數內取得指定之物件的獨佔鎖定,並且完整設定值,指出是否採用鎖定。</summary>
951 <param name="obj">要取得鎖定的物件。</param>
952 <param name="millisecondsTimeout">等候鎖定的毫秒數。</param>
953 <param name="lockTaken">嘗試取得鎖定的結果 (以傳址方式傳遞)。輸入必須是 false。如果已取得鎖定,輸出就是 true;否則輸出為 false。嘗試取得鎖定期間,即使發生例外狀況,仍然會設定輸出。</param>
954 <exception cref="T:System.ArgumentException">
955 <paramref name="lockTaken" /> 的輸入為 true。</exception>
956 <exception cref="T:System.ArgumentNullException">
957 <paramref name="obj" /> 參數為 null。</exception>
958 <exception cref="T:System.ArgumentOutOfRangeException">
959 <paramref name="millisecondsTimeout" /> 為負,且不等於 <see cref="F:System.Threading.Timeout.Infinite" />。</exception>
961 <member name="M:System.Threading.Monitor.TryEnter(System.Object,System.TimeSpan)">
962 <summary>嘗試取得指定物件的獨佔鎖定 (在指定的時間內)。</summary>
963 <returns>如果目前執行緒取得鎖定,則為 true;否則為 false。</returns>
964 <param name="obj">要取得鎖定的物件。</param>
965 <param name="timeout">
966 <see cref="T:System.TimeSpan" />,代表等候鎖定的時間量。-1 毫秒的值會指定無限期等候。</param>
967 <exception cref="T:System.ArgumentNullException">
968 <paramref name="obj" /> 參數為 null。</exception>
969 <exception cref="T:System.ArgumentOutOfRangeException">
970 <paramref name="timeout" /> 的毫秒值為負且不等於 <see cref="F:System.Threading.Timeout.Infinite" /> (-1 毫秒) 或大於 <see cref="F:System.Int32.MaxValue" />。</exception>
971 <filterpriority>1</filterpriority>
973 <member name="M:System.Threading.Monitor.TryEnter(System.Object,System.TimeSpan,System.Boolean@)">
974 <summary>嘗試在指定的時間內取得指定之物件的獨佔鎖定,並且完整設定值,指出是否採用鎖定。</summary>
975 <param name="obj">要取得鎖定的物件。</param>
976 <param name="timeout">等候鎖定的時間長度。-1 毫秒的值會指定無限期等候。</param>
977 <param name="lockTaken">嘗試取得鎖定的結果 (以傳址方式傳遞)。輸入必須是 false。如果已取得鎖定,輸出就是 true;否則輸出為 false。嘗試取得鎖定期間,即使發生例外狀況,仍然會設定輸出。</param>
978 <exception cref="T:System.ArgumentException">
979 <paramref name="lockTaken" /> 的輸入為 true。</exception>
980 <exception cref="T:System.ArgumentNullException">
981 <paramref name="obj" /> 參數為 null。</exception>
982 <exception cref="T:System.ArgumentOutOfRangeException">
983 <paramref name="timeout" /> 的毫秒值為負且不等於 <see cref="F:System.Threading.Timeout.Infinite" /> (-1 毫秒) 或大於 <see cref="F:System.Int32.MaxValue" />。</exception>
985 <member name="M:System.Threading.Monitor.Wait(System.Object)">
986 <summary>釋出物件的鎖並且封鎖目前的執行緒,直到這個執行緒重新取得鎖定為止。</summary>
987 <returns>如果由於呼叫端重新取得指定物件的鎖定而傳回呼叫,則為 true。如果鎖定不被重新取得,則這個方法不會傳回。</returns>
988 <param name="obj">要等候的物件。</param>
989 <exception cref="T:System.ArgumentNullException">
990 <paramref name="obj" /> 參數為 null。</exception>
991 <exception cref="T:System.Threading.SynchronizationLockException">呼叫執行緒沒有指定物件的鎖定。</exception>
992 <exception cref="T:System.Threading.ThreadInterruptedException">叫用 Wait 的執行緒稍後會從等候狀態被插斷。這會當另一個執行緒呼叫這個執行緒的 <see cref="M:System.Threading.Thread.Interrupt" /> 方法時發生。</exception>
993 <filterpriority>1</filterpriority>
995 <member name="M:System.Threading.Monitor.Wait(System.Object,System.Int32)">
996 <summary>釋出物件的鎖並且封鎖目前的執行緒,直到這個執行緒重新取得鎖定為止。如果超過指定的逾時間隔時間,執行緒會進入就緒序列。</summary>
997 <returns>如果在經過指定的時間之前重新取得鎖定,則為 true;如果在經過指定的時間之後重新取得鎖定,則為 false。要等到重新取得鎖定之後,此方法才會傳回。</returns>
998 <param name="obj">要等候的物件。</param>
999 <param name="millisecondsTimeout">在執行緒進入就緒佇列之前要等候的毫秒數。</param>
1000 <exception cref="T:System.ArgumentNullException">
1001 <paramref name="obj" /> 參數為 null。</exception>
1002 <exception cref="T:System.Threading.SynchronizationLockException">呼叫執行緒沒有指定物件的鎖定。</exception>
1003 <exception cref="T:System.Threading.ThreadInterruptedException">叫用 Wait 的執行緒稍後會從等候狀態被插斷。這會當另一個執行緒呼叫這個執行緒的 <see cref="M:System.Threading.Thread.Interrupt" /> 方法時發生。</exception>
1004 <exception cref="T:System.ArgumentOutOfRangeException">
1005 <paramref name="millisecondsTimeout" /> 參數的值為負,且不等於 <see cref="F:System.Threading.Timeout.Infinite" />。</exception>
1006 <filterpriority>1</filterpriority>
1008 <member name="M:System.Threading.Monitor.Wait(System.Object,System.TimeSpan)">
1009 <summary>釋出物件的鎖並且封鎖目前的執行緒,直到這個執行緒重新取得鎖定為止。如果超過指定的逾時間隔時間,執行緒會進入就緒序列。</summary>
1010 <returns>如果在經過指定的時間之前重新取得鎖定,則為 true;如果在經過指定的時間之後重新取得鎖定,則為 false。要等到重新取得鎖定之後,此方法才會傳回。</returns>
1011 <param name="obj">要等候的物件。</param>
1012 <param name="timeout">
1013 <see cref="T:System.TimeSpan" />,代表在執行緒進入就緒佇列之前要等候的時間量。</param>
1014 <exception cref="T:System.ArgumentNullException">
1015 <paramref name="obj" /> 參數為 null。</exception>
1016 <exception cref="T:System.Threading.SynchronizationLockException">呼叫執行緒沒有指定物件的鎖定。</exception>
1017 <exception cref="T:System.Threading.ThreadInterruptedException">叫用 Wait 的執行緒稍後會從等候狀態被插斷。這會當另一個執行緒呼叫這個執行緒的 <see cref="M:System.Threading.Thread.Interrupt" /> 方法時發生。</exception>
1018 <exception cref="T:System.ArgumentOutOfRangeException">
1019 <paramref name="timeout" /> 參數的毫秒值為負,且不表示 <see cref="F:System.Threading.Timeout.Infinite" /> (-1 毫秒),或大於 <see cref="F:System.Int32.MaxValue" />。</exception>
1020 <filterpriority>1</filterpriority>
1022 <member name="T:System.Threading.Mutex">
1023 <summary>同步處理原始物件,該物件也可用於進行處理序之間的同步處理。</summary>
1024 <filterpriority>1</filterpriority>
1026 <member name="M:System.Threading.Mutex.#ctor">
1027 <summary>使用預設屬性,初始化 <see cref="T:System.Threading.Mutex" /> 類別的新執行個體。</summary>
1029 <member name="M:System.Threading.Mutex.#ctor(System.Boolean)">
1030 <summary>使用表示呼叫執行緒是否應該具有 Mutex 的初始擁有權的布林值,初始化 <see cref="T:System.Threading.Mutex" /> 類別的新執行個體。</summary>
1031 <param name="initiallyOwned">true 表示將 Mutex 的初始擁有權授與呼叫執行緒,否則為 false。</param>
1033 <member name="M:System.Threading.Mutex.#ctor(System.Boolean,System.String)">
1034 <summary>使用表示呼叫執行緒是否應該具有 Mutex 的初始擁有權的布林值,以及代表 Mutex 名稱的字串,初始化 <see cref="T:System.Threading.Mutex" /> 類別的新執行個體。</summary>
1035 <param name="initiallyOwned">true 表示如果這個呼叫的結果建立了具名系統 Mutex,則將具名系統 Mutex 的初始擁有權授與呼叫執行緒,否則為 false。</param>
1037 <see cref="T:System.Threading.Mutex" /> 的名稱。如果值是 null,則 <see cref="T:System.Threading.Mutex" /> 未命名。</param>
1038 <exception cref="T:System.UnauthorizedAccessException">具名的 Mutex 存在,而且具有存取控制安全性,但是使用者沒有 <see cref="F:System.Security.AccessControl.MutexRights.FullControl" />。</exception>
1039 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
1040 <exception cref="T:System.Threading.WaitHandleCannotBeOpenedException">無法建立具名的 Mutex,可能是因為不同類型的等候控制代碼擁有相同名稱。</exception>
1041 <exception cref="T:System.ArgumentException">
1042 <paramref name="name" /> 长度超过 260 个字符。</exception>
1044 <member name="M:System.Threading.Mutex.#ctor(System.Boolean,System.String,System.Boolean@)">
1045 <summary>使用表示呼叫執行緒是否應該具有 Mutex 的初始擁有權的布林值、代表 Mutex 名稱的字串,以及當方法傳回時表示是否將 Mutex 的初始擁有權授與呼叫執行緒的布林值,初始化 <see cref="T:System.Threading.Mutex" /> 類別的新執行個體。</summary>
1046 <param name="initiallyOwned">true 表示如果這個呼叫的結果建立了具名系統 Mutex,則將具名系統 Mutex 的初始擁有權授與呼叫執行緒,否則為 false。</param>
1048 <see cref="T:System.Threading.Mutex" /> 的名稱。如果值是 null,則 <see cref="T:System.Threading.Mutex" /> 未命名。</param>
1049 <param name="createdNew">當這個方法傳回時,如果已建立本機 Mutex (也就是說,如果 <paramref name="name" /> 為 null 或空字串),或是已建立指定的具名系統 Mutex,則會包含 true 的布林值;如果指定的具名系統 Mutex 已存在,則為 false。這個參數會以未初始化的狀態傳遞。</param>
1050 <exception cref="T:System.UnauthorizedAccessException">具名的 Mutex 存在,而且具有存取控制安全性,但是使用者沒有 <see cref="F:System.Security.AccessControl.MutexRights.FullControl" />。</exception>
1051 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
1052 <exception cref="T:System.Threading.WaitHandleCannotBeOpenedException">無法建立具名的 Mutex,可能是因為不同類型的等候控制代碼擁有相同名稱。</exception>
1053 <exception cref="T:System.ArgumentException">
1054 <paramref name="name" /> 长度超过 260 个字符。</exception>
1056 <member name="M:System.Threading.Mutex.OpenExisting(System.String)">
1057 <summary>開啟指定的具名 mutex (如果已經存在)。</summary>
1058 <returns>表示具名系統 Mutex 的物件。</returns>
1059 <param name="name">要開啟的系統 Mutex 的名稱。</param>
1060 <exception cref="T:System.ArgumentException">
1061 <paramref name="name" /> 為空字串。-或-<paramref name="name" /> 长度超过 260 个字符。</exception>
1062 <exception cref="T:System.ArgumentNullException">
1063 <paramref name="name" /> 為 null。</exception>
1064 <exception cref="T:System.Threading.WaitHandleCannotBeOpenedException">具名 Mutex 不存在。</exception>
1065 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
1066 <exception cref="T:System.UnauthorizedAccessException">具名 Mutex 存在,但是使用者並沒有使用它所需的安全性存取權。</exception>
1067 <filterpriority>1</filterpriority>
1069 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1072 <member name="M:System.Threading.Mutex.ReleaseMutex">
1073 <summary>釋出 <see cref="T:System.Threading.Mutex" /> 一次。</summary>
1074 <exception cref="T:System.ApplicationException">呼叫執行緒並不擁有 Mutex。</exception>
1075 <filterpriority>1</filterpriority>
1077 <member name="M:System.Threading.Mutex.TryOpenExisting(System.String,System.Threading.Mutex@)">
1078 <summary>開啟指定的具名 mutex (如果已經存在),並傳回值,指出作業是否成功。</summary>
1079 <returns>如果已成功開啟具名 Mutex,則為 true,否則為 false。</returns>
1080 <param name="name">要開啟的系統 Mutex 的名稱。</param>
1081 <param name="result">當這個方法傳回時,如果呼叫成功,則包含代表具名 Mutex 的 <see cref="T:System.Threading.Mutex" /> 物件;如果呼叫失敗,則為 null。這個參數會被視為未初始化。</param>
1082 <exception cref="T:System.ArgumentException">
1083 <paramref name="name" /> 為空字串。-或-<paramref name="name" /> 长度超过 260 个字符。</exception>
1084 <exception cref="T:System.ArgumentNullException">
1085 <paramref name="name" /> 為 null。</exception>
1086 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
1087 <exception cref="T:System.UnauthorizedAccessException">具名 Mutex 存在,但是使用者並沒有使用它所需的安全性存取權。</exception>
1089 <member name="T:System.Threading.ReaderWriterLockSlim">
1090 <summary>代表鎖定,用來管理資源存取,允許多個執行緒的讀取權限或獨佔寫入權限。</summary>
1092 <member name="M:System.Threading.ReaderWriterLockSlim.#ctor">
1093 <summary>使用預設屬性值,初始化 <see cref="T:System.Threading.ReaderWriterLockSlim" /> 類別的新執行個體。</summary>
1095 <member name="M:System.Threading.ReaderWriterLockSlim.#ctor(System.Threading.LockRecursionPolicy)">
1096 <summary>指定鎖定遞迴原則,初始化 <see cref="T:System.Threading.ReaderWriterLockSlim" /> 類別的新執行個體。</summary>
1097 <param name="recursionPolicy">一個列舉值,指定鎖定遞迴原則。</param>
1099 <member name="P:System.Threading.ReaderWriterLockSlim.CurrentReadCount">
1100 <summary>取得已進入讀取模式鎖定狀態的唯一執行緒總數。</summary>
1101 <returns>已進入讀取模式鎖定狀態的唯一執行緒數目。</returns>
1103 <member name="M:System.Threading.ReaderWriterLockSlim.Dispose">
1104 <summary>釋放 <see cref="T:System.Threading.ReaderWriterLockSlim" /> 類別目前的執行個體所使用的全部資源。</summary>
1105 <exception cref="T:System.Threading.SynchronizationLockException">
1106 <see cref="P:System.Threading.ReaderWriterLockSlim.WaitingReadCount" /> is greater than zero. -or-<see cref="P:System.Threading.ReaderWriterLockSlim.WaitingUpgradeCount" /> is greater than zero. -or-<see cref="P:System.Threading.ReaderWriterLockSlim.WaitingWriteCount" /> is greater than zero. </exception>
1107 <filterpriority>2</filterpriority>
1109 <member name="M:System.Threading.ReaderWriterLockSlim.EnterReadLock">
1110 <summary>嘗試進入讀取模式的鎖定。</summary>
1111 <exception cref="T:System.Threading.LockRecursionException">The <see cref="P:System.Threading.ReaderWriterLockSlim.RecursionPolicy" /> property is <see cref="F:System.Threading.LockRecursionPolicy.NoRecursion" /> and the current thread has already entered read mode. -or-The current thread may not acquire the read lock when it already holds the write lock. -or-The recursion number would exceed the capacity of the counter.This limit is so large that applications should never encounter it.</exception>
1112 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.ReaderWriterLockSlim" /> object has been disposed. </exception>
1114 <member name="M:System.Threading.ReaderWriterLockSlim.EnterUpgradeableReadLock">
1115 <summary>嘗試進入可升級模式的鎖定狀態。</summary>
1116 <exception cref="T:System.Threading.LockRecursionException">The <see cref="P:System.Threading.ReaderWriterLockSlim.RecursionPolicy" /> property is <see cref="F:System.Threading.LockRecursionPolicy.NoRecursion" /> and the current thread has already entered the lock in any mode. -or-The current thread has entered read mode, so trying to enter upgradeable mode would create the possibility of a deadlock. -or-The recursion number would exceed the capacity of the counter.The limit is so large that applications should never encounter it.</exception>
1117 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.ReaderWriterLockSlim" /> object has been disposed. </exception>
1119 <member name="M:System.Threading.ReaderWriterLockSlim.EnterWriteLock">
1120 <summary>嘗試進入寫入模式的鎖定。</summary>
1121 <exception cref="T:System.Threading.LockRecursionException">The <see cref="P:System.Threading.ReaderWriterLockSlim.RecursionPolicy" /> property is <see cref="F:System.Threading.LockRecursionPolicy.NoRecursion" /> and the current thread has already entered the lock in any mode. -or-The current thread has entered read mode, so trying to enter the lock in write mode would create the possibility of a deadlock. -or-The recursion number would exceed the capacity of the counter.The limit is so large that applications should never encounter it.</exception>
1122 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.ReaderWriterLockSlim" /> object has been disposed. </exception>
1124 <member name="M:System.Threading.ReaderWriterLockSlim.ExitReadLock">
1125 <summary>減少讀取模式遞迴的計數,如果得出的計數為 0 (零),則結束讀取模式。</summary>
1126 <exception cref="T:System.Threading.SynchronizationLockException">The current thread has not entered the lock in read mode. </exception>
1128 <member name="M:System.Threading.ReaderWriterLockSlim.ExitUpgradeableReadLock">
1129 <summary>減少可升級模式遞迴的計數,如果得出的計數為 0 (零),則結束可升級模式。</summary>
1130 <exception cref="T:System.Threading.SynchronizationLockException">The current thread has not entered the lock in upgradeable mode.</exception>
1132 <member name="M:System.Threading.ReaderWriterLockSlim.ExitWriteLock">
1133 <summary>減少寫入模式遞迴的計數,如果得出的計數為 0 (零),則結束寫入模式。</summary>
1134 <exception cref="T:System.Threading.SynchronizationLockException">The current thread has not entered the lock in write mode.</exception>
1136 <member name="P:System.Threading.ReaderWriterLockSlim.IsReadLockHeld">
1137 <summary>取得值,表示目前執行緒是否已進入讀取模式的鎖定。</summary>
1138 <returns>如果目前執行緒已進入讀取模式,則為 true;否則為 false。</returns>
1139 <filterpriority>2</filterpriority>
1141 <member name="P:System.Threading.ReaderWriterLockSlim.IsUpgradeableReadLockHeld">
1142 <summary>取得值,表示目前執行緒是否已進入可升級模式的鎖定。</summary>
1143 <returns>如果目前執行緒已進入可升級模式,則為 true;否則為 false。</returns>
1144 <filterpriority>2</filterpriority>
1146 <member name="P:System.Threading.ReaderWriterLockSlim.IsWriteLockHeld">
1147 <summary>取得值,表示目前執行緒是否已進入寫入模式的鎖定。</summary>
1148 <returns>如果目前執行緒已進入寫入模式,則為 true;否則為 false。</returns>
1149 <filterpriority>2</filterpriority>
1151 <member name="P:System.Threading.ReaderWriterLockSlim.RecursionPolicy">
1152 <summary>取得值,表示目前 <see cref="T:System.Threading.ReaderWriterLockSlim" /> 物件的遞迴原則。</summary>
1153 <returns>一個列舉值,指定鎖定遞迴原則。</returns>
1155 <member name="P:System.Threading.ReaderWriterLockSlim.RecursiveReadCount">
1156 <summary>取得目前執行緒已進入讀取模式鎖定的次數,做為遞迴的表示。</summary>
1157 <returns>如果目前執行緒尚未進入讀取模式,則為 0 (零);如果執行緒已進入讀取模式,但是尚未遞迴進入該模式,則為 1;如果執行緒已遞迴進入鎖定 n - 1 次,則為 n。</returns>
1158 <filterpriority>2</filterpriority>
1160 <member name="P:System.Threading.ReaderWriterLockSlim.RecursiveUpgradeCount">
1161 <summary>取得目前執行緒已進入可升級模式鎖定的次數,做為遞迴的表示。</summary>
1162 <returns>如果目前執行緒尚未進入可升級模式,則為 0;如果執行緒已進入可升級模式,但是尚未遞迴進入該模式,則為 1;如果執行緒已遞迴進入可升級模式 n - 1 次,則為 n。</returns>
1163 <filterpriority>2</filterpriority>
1165 <member name="P:System.Threading.ReaderWriterLockSlim.RecursiveWriteCount">
1166 <summary>取得目前執行緒已進入寫入模式鎖定的次數,做為遞迴的表示。</summary>
1167 <returns>如果目前執行緒尚未進入寫入模式,則為 0;如果執行緒已進入寫入模式,但是尚未遞迴進入該模式,則為 1;如果執行緒已遞迴進入寫入模式 n - 1 次,則為 n。</returns>
1168 <filterpriority>2</filterpriority>
1170 <member name="M:System.Threading.ReaderWriterLockSlim.TryEnterReadLock(System.Int32)">
1171 <summary>嘗試以選用的整數逾時,進入讀取模式的鎖定狀態。</summary>
1172 <returns>如果呼叫執行緒已進入讀取模式,則為 true;否則為 false。</returns>
1173 <param name="millisecondsTimeout">要等候的毫秒數;若要永遠等候,則為 -1 (<see cref="F:System.Threading.Timeout.Infinite" />)。</param>
1174 <exception cref="T:System.Threading.LockRecursionException">The <see cref="P:System.Threading.ReaderWriterLockSlim.RecursionPolicy" /> property is <see cref="F:System.Threading.LockRecursionPolicy.NoRecursion" /> and the current thread has already entered the lock. -or-The recursion number would exceed the capacity of the counter.The limit is so large that applications should never encounter it.</exception>
1175 <exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="millisecondsTimeout" /> is negative, but it is not equal to <see cref="F:System.Threading.Timeout.Infinite" /> (-1), which is the only negative value allowed. </exception>
1176 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.ReaderWriterLockSlim" /> object has been disposed. </exception>
1178 <member name="M:System.Threading.ReaderWriterLockSlim.TryEnterReadLock(System.TimeSpan)">
1179 <summary>嘗試以選用的逾時,在讀取模式下進入鎖定狀態。</summary>
1180 <returns>如果呼叫執行緒已進入讀取模式,則為 true;否則為 false。</returns>
1181 <param name="timeout">等待的間隔,或 -1 毫秒無限期等待。</param>
1182 <exception cref="T:System.Threading.LockRecursionException">The <see cref="P:System.Threading.ReaderWriterLockSlim.RecursionPolicy" /> property is <see cref="F:System.Threading.LockRecursionPolicy.NoRecursion" /> and the current thread has already entered the lock. -or-The recursion number would exceed the capacity of the counter.The limit is so large that applications should never encounter it.</exception>
1183 <exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="timeout" /> is negative, but it is not equal to -1 milliseconds, which is the only negative value allowed.-or-The value of <paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" /> milliseconds. </exception>
1184 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.ReaderWriterLockSlim" /> object has been disposed. </exception>
1186 <member name="M:System.Threading.ReaderWriterLockSlim.TryEnterUpgradeableReadLock(System.Int32)">
1187 <summary>嘗試以選用的逾時,在可升級模式下進入鎖定狀態。</summary>
1188 <returns>如果呼叫執行緒已進入可升級模式,則為 true;否則為 false。</returns>
1189 <param name="millisecondsTimeout">要等候的毫秒數;若要永遠等候,則為 -1 (<see cref="F:System.Threading.Timeout.Infinite" />)。</param>
1190 <exception cref="T:System.Threading.LockRecursionException">The <see cref="P:System.Threading.ReaderWriterLockSlim.RecursionPolicy" /> property is <see cref="F:System.Threading.LockRecursionPolicy.NoRecursion" /> and the current thread has already entered the lock. -or-The current thread initially entered the lock in read mode, and therefore trying to enter upgradeable mode would create the possibility of a deadlock. -or-The recursion number would exceed the capacity of the counter.The limit is so large that applications should never encounter it.</exception>
1191 <exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="millisecondsTimeout" /> is negative, but it is not equal to <see cref="F:System.Threading.Timeout.Infinite" /> (-1), which is the only negative value allowed. </exception>
1192 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.ReaderWriterLockSlim" /> object has been disposed. </exception>
1194 <member name="M:System.Threading.ReaderWriterLockSlim.TryEnterUpgradeableReadLock(System.TimeSpan)">
1195 <summary>嘗試以選用的逾時,在可升級模式下進入鎖定狀態。</summary>
1196 <returns>如果呼叫執行緒已進入可升級模式,則為 true;否則為 false。</returns>
1197 <param name="timeout">等待的間隔,或 -1 毫秒無限期等待。</param>
1198 <exception cref="T:System.Threading.LockRecursionException">The <see cref="P:System.Threading.ReaderWriterLockSlim.RecursionPolicy" /> property is <see cref="F:System.Threading.LockRecursionPolicy.NoRecursion" /> and the current thread has already entered the lock. -or-The current thread initially entered the lock in read mode, and therefore trying to enter upgradeable mode would create the possibility of a deadlock. -or-The recursion number would exceed the capacity of the counter.The limit is so large that applications should never encounter it.</exception>
1199 <exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="timeout" /> is negative, but it is not equal to -1 milliseconds, which is the only negative value allowed.-or-The value of <paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" /> milliseconds. </exception>
1200 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.ReaderWriterLockSlim" /> object has been disposed. </exception>
1202 <member name="M:System.Threading.ReaderWriterLockSlim.TryEnterWriteLock(System.Int32)">
1203 <summary>嘗試以選用的逾時,在寫入模式下進入鎖定狀態。</summary>
1204 <returns>如果呼叫執行緒已進入寫入模式,則為 true;否則為 false。</returns>
1205 <param name="millisecondsTimeout">要等候的毫秒數;若要永遠等候,則為 -1 (<see cref="F:System.Threading.Timeout.Infinite" />)。</param>
1206 <exception cref="T:System.Threading.LockRecursionException">The <see cref="P:System.Threading.ReaderWriterLockSlim.RecursionPolicy" /> property is <see cref="F:System.Threading.LockRecursionPolicy.NoRecursion" /> and the current thread has already entered the lock. -or-The current thread initially entered the lock in read mode, and therefore trying to enter write mode would create the possibility of a deadlock. -or-The recursion number would exceed the capacity of the counter.The limit is so large that applications should never encounter it.</exception>
1207 <exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="millisecondsTimeout" /> is negative, but it is not equal to <see cref="F:System.Threading.Timeout.Infinite" /> (-1), which is the only negative value allowed. </exception>
1208 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.ReaderWriterLockSlim" /> object has been disposed. </exception>
1210 <member name="M:System.Threading.ReaderWriterLockSlim.TryEnterWriteLock(System.TimeSpan)">
1211 <summary>嘗試以選用的逾時,在寫入模式下進入鎖定狀態。</summary>
1212 <returns>如果呼叫執行緒已進入寫入模式,則為 true;否則為 false。</returns>
1213 <param name="timeout">等待的間隔,或 -1 毫秒無限期等待。</param>
1214 <exception cref="T:System.Threading.LockRecursionException">The <see cref="P:System.Threading.ReaderWriterLockSlim.RecursionPolicy" /> property is <see cref="F:System.Threading.LockRecursionPolicy.NoRecursion" /> and the current thread has already entered the lock. -or-The current thread initially entered the lock in read mode, and therefore trying to enter write mode would create the possibility of a deadlock. -or-The recursion number would exceed the capacity of the counter.The limit is so large that applications should never encounter it.</exception>
1215 <exception cref="T:System.ArgumentOutOfRangeException">The value of <paramref name="timeout" /> is negative, but it is not equal to -1 milliseconds, which is the only negative value allowed.-or-The value of <paramref name="timeout" /> is greater than <see cref="F:System.Int32.MaxValue" /> milliseconds. </exception>
1216 <exception cref="T:System.ObjectDisposedException">The <see cref="T:System.Threading.ReaderWriterLockSlim" /> object has been disposed. </exception>
1218 <member name="P:System.Threading.ReaderWriterLockSlim.WaitingReadCount">
1219 <summary>取得等待進入讀取模式鎖定狀態的執行緒總數。</summary>
1220 <returns>等待進入讀取模式的執行緒總數。</returns>
1221 <filterpriority>2</filterpriority>
1223 <member name="P:System.Threading.ReaderWriterLockSlim.WaitingUpgradeCount">
1224 <summary>取得等待進入可升級模式鎖定狀態的執行緒總數。</summary>
1225 <returns>等待進入可升級模式的執行緒總數。</returns>
1226 <filterpriority>2</filterpriority>
1228 <member name="P:System.Threading.ReaderWriterLockSlim.WaitingWriteCount">
1229 <summary>取得等待進入寫入模式鎖定狀態的執行緒總數。</summary>
1230 <returns>等待進入寫入模式的執行緒總數。</returns>
1231 <filterpriority>2</filterpriority>
1233 <member name="T:System.Threading.Semaphore">
1234 <summary>限制可以同時存取資源或資源集區的執行緒數目。</summary>
1235 <filterpriority>1</filterpriority>
1237 <member name="M:System.Threading.Semaphore.#ctor(System.Int32,System.Int32)">
1238 <summary>初始化 <see cref="T:System.Threading.Semaphore" /> 類別的新執行個體,以及指定並行項目的最大數目及選擇性地保留某些項目。</summary>
1239 <param name="initialCount">可同時授與給號誌的初始要求數目。</param>
1240 <param name="maximumCount">可以同時授與之號誌要求的最大數目。</param>
1241 <exception cref="T:System.ArgumentException">
1242 <paramref name="initialCount" /> 大於 <paramref name="maximumCount" />。</exception>
1243 <exception cref="T:System.ArgumentOutOfRangeException">
1244 <paramref name="maximumCount" /> 为小于 1。-或-<paramref name="initialCount" /> 小於 0。</exception>
1246 <member name="M:System.Threading.Semaphore.#ctor(System.Int32,System.Int32,System.String)">
1247 <summary>初始化 <see cref="T:System.Threading.Semaphore" /> 類別的新執行個體,然後指定初始項目數目與並行項目的最大數目,以及選擇性地指定系統號誌物件的名稱。</summary>
1248 <param name="initialCount">可同時授與給號誌的初始要求數目。</param>
1249 <param name="maximumCount">可以同時授與之號誌要求的最大數目。</param>
1250 <param name="name">具名系統號誌物件的名稱。</param>
1251 <exception cref="T:System.ArgumentException">
1252 <paramref name="initialCount" /> 大於 <paramref name="maximumCount" />。-或-<paramref name="name" /> 长度超过 260 个字符。</exception>
1253 <exception cref="T:System.ArgumentOutOfRangeException">
1254 <paramref name="maximumCount" /> 为小于 1。-或-<paramref name="initialCount" /> 小於 0。</exception>
1255 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
1256 <exception cref="T:System.UnauthorizedAccessException">具名的號誌存在,而且具有存取控制安全性,但是使用者沒有 <see cref="F:System.Security.AccessControl.SemaphoreRights.FullControl" />。</exception>
1257 <exception cref="T:System.Threading.WaitHandleCannotBeOpenedException">無法建立具名的號誌,可能是因為不同類型的等候控制代碼擁有相同名稱。</exception>
1259 <member name="M:System.Threading.Semaphore.#ctor(System.Int32,System.Int32,System.String,System.Boolean@)">
1260 <summary>初始化 <see cref="T:System.Threading.Semaphore" /> 類別的新執行個體,然後指定初始項目物件數目與並行項目的最大數目,選擇性地指定系統號誌物件的名稱,以及指定接收值的變數,指出是否已建立新的系統號誌。</summary>
1261 <param name="initialCount">可以同時滿足之號誌要求的初始數目。</param>
1262 <param name="maximumCount">可以同時滿足之號誌要求的最大數目。</param>
1263 <param name="name">具名系統號誌物件的名稱。</param>
1264 <param name="createdNew">這個方法傳回時,如果已建立本機號誌 (也就是說,如果 <paramref name="name" /> 為 null 或空字串),或是已建立指定的已命名系統號誌,則會包含 true;如果指定的已命名系統號誌已存在則為 false。這個參數會以未初始化的狀態傳遞。</param>
1265 <exception cref="T:System.ArgumentException">
1266 <paramref name="initialCount" /> 大於 <paramref name="maximumCount" />。-或-<paramref name="name" /> 长度超过 260 个字符。</exception>
1267 <exception cref="T:System.ArgumentOutOfRangeException">
1268 <paramref name="maximumCount" /> 为小于 1。-或-<paramref name="initialCount" /> 小於 0。</exception>
1269 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
1270 <exception cref="T:System.UnauthorizedAccessException">具名的號誌存在,而且具有存取控制安全性,但是使用者沒有 <see cref="F:System.Security.AccessControl.SemaphoreRights.FullControl" />。</exception>
1271 <exception cref="T:System.Threading.WaitHandleCannotBeOpenedException">無法建立具名的號誌,可能是因為不同類型的等候控制代碼擁有相同名稱。</exception>
1273 <member name="M:System.Threading.Semaphore.OpenExisting(System.String)">
1274 <summary>開啟指定的具名號誌 (如果已經存在)。</summary>
1275 <returns>表示具名系統號誌的物件。</returns>
1276 <param name="name">要開啟之系統號誌的名稱。</param>
1277 <exception cref="T:System.ArgumentException">
1278 <paramref name="name" /> 為空字串。-或-<paramref name="name" /> 长度超过 260 个字符。</exception>
1279 <exception cref="T:System.ArgumentNullException">
1280 <paramref name="name" /> 為 null。</exception>
1281 <exception cref="T:System.Threading.WaitHandleCannotBeOpenedException">具名號誌不存在。</exception>
1282 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
1283 <exception cref="T:System.UnauthorizedAccessException">具名號誌存在,但是使用者並沒有使用它所需的安全性存取權。</exception>
1284 <filterpriority>1</filterpriority>
1286 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
1289 <member name="M:System.Threading.Semaphore.Release">
1290 <summary>結束號誌,並傳回上一個計數。</summary>
1291 <returns>呼叫 <see cref="Overload:System.Threading.Semaphore.Release" /> 方法之前,號誌上的計數。</returns>
1292 <exception cref="T:System.Threading.SemaphoreFullException">號誌計數已達到最大值。</exception>
1293 <exception cref="T:System.IO.IOException">具名號誌中發生 Win32 錯誤。</exception>
1294 <exception cref="T:System.UnauthorizedAccessException">目前的號誌代表具名系統號誌,但是使用者沒有 <see cref="F:System.Security.AccessControl.SemaphoreRights.Modify" />。-或-目前的號誌代表具名系統號誌,但是並未以 <see cref="F:System.Security.AccessControl.SemaphoreRights.Modify" /> 開啟。</exception>
1295 <filterpriority>1</filterpriority>
1297 <member name="M:System.Threading.Semaphore.Release(System.Int32)">
1298 <summary>以指定的次數結束號誌,並回到上一個計數。</summary>
1299 <returns>呼叫 <see cref="Overload:System.Threading.Semaphore.Release" /> 方法之前,號誌上的計數。</returns>
1300 <param name="releaseCount">結束號誌的次數。</param>
1301 <exception cref="T:System.ArgumentOutOfRangeException">
1302 <paramref name="releaseCount" /> 为小于 1。</exception>
1303 <exception cref="T:System.Threading.SemaphoreFullException">號誌計數已達到最大值。</exception>
1304 <exception cref="T:System.IO.IOException">具名號誌中發生 Win32 錯誤。</exception>
1305 <exception cref="T:System.UnauthorizedAccessException">目前的號誌代表具名系統號誌,但是使用者沒有 <see cref="F:System.Security.AccessControl.SemaphoreRights.Modify" /> 權限。-或-目前的號誌代表具名系統號誌,但是並未以 <see cref="F:System.Security.AccessControl.SemaphoreRights.Modify" /> 權限開啟。</exception>
1306 <filterpriority>1</filterpriority>
1308 <member name="M:System.Threading.Semaphore.TryOpenExisting(System.String,System.Threading.Semaphore@)">
1309 <summary>開啟指定的具名號誌 (如果已經存在),並傳回值,指出作業是否成功。</summary>
1310 <returns>如果已成功開啟具名號誌,則為 true;否則為 false。</returns>
1311 <param name="name">要開啟之系統號誌的名稱。</param>
1312 <param name="result">這個方法傳回時,如果呼叫成功,則包含 <see cref="T:System.Threading.Semaphore" /> 物件,此物件代表具名信號,如果呼叫失敗,則為null。這個參數會被視為未初始化。</param>
1313 <exception cref="T:System.ArgumentException">
1314 <paramref name="name" /> 為空字串。-或-<paramref name="name" /> 长度超过 260 个字符。</exception>
1315 <exception cref="T:System.ArgumentNullException">
1316 <paramref name="name" /> 為 null。</exception>
1317 <exception cref="T:System.IO.IOException">發生 Win32 錯誤。</exception>
1318 <exception cref="T:System.UnauthorizedAccessException">具名號誌存在,但是使用者並沒有使用它所需的安全性存取權。</exception>
1320 <member name="T:System.Threading.SemaphoreFullException">
1321 <summary>在已經達到最大計數的號誌上呼叫 <see cref="Overload:System.Threading.Semaphore.Release" /> 方法時,所擲回的例外狀況。</summary>
1322 <filterpriority>2</filterpriority>
1324 <member name="M:System.Threading.SemaphoreFullException.#ctor">
1325 <summary>使用預設值,初始化 <see cref="T:System.Threading.SemaphoreFullException" /> 類別的新執行個體。</summary>
1327 <member name="M:System.Threading.SemaphoreFullException.#ctor(System.String)">
1328 <summary>使用指定的錯誤訊息,初始化 <see cref="T:System.Threading.SemaphoreFullException" /> 類別的新執行個體。</summary>
1329 <param name="message">解釋例外狀況原因的錯誤訊息。</param>
1331 <member name="M:System.Threading.SemaphoreFullException.#ctor(System.String,System.Exception)">
1332 <summary>使用指定的錯誤訊息和造成這個例外狀況原因的內部例外狀況參考,初始化 <see cref="T:System.Threading.SemaphoreFullException" /> 類別的新執行個體。</summary>
1333 <param name="message">解釋例外狀況原因的錯誤訊息。</param>
1334 <param name="innerException">導致目前例外狀況的例外。如果 <paramref name="innerException" /> 參數不是 null,則目前的例外狀況會在處理內部例外的 catch 區塊中引發。</param>
1336 <member name="T:System.Threading.SemaphoreSlim">
1337 <summary>代表 <see cref="T:System.Threading.Semaphore" /> 的輕量型替代品,限制可同時存取一項資源或資源集區的執行緒數目。</summary>
1339 <member name="M:System.Threading.SemaphoreSlim.#ctor(System.Int32)">
1340 <summary>指定可同時授與的初始要求數目,初始化 <see cref="T:System.Threading.SemaphoreSlim" /> 類別的新執行個體。</summary>
1341 <param name="initialCount">可同時授與給號誌的初始要求數目。</param>
1342 <exception cref="T:System.ArgumentOutOfRangeException">
1343 <paramref name="initialCount" /> 小於 0。</exception>
1345 <member name="M:System.Threading.SemaphoreSlim.#ctor(System.Int32,System.Int32)">
1346 <summary>指定可同時授與的初始要求數目及最大數目,初始化 <see cref="T:System.Threading.SemaphoreSlim" /> 類別的新執行個體。</summary>
1347 <param name="initialCount">可同時授與給號誌的初始要求數目。</param>
1348 <param name="maxCount">可以同時授與之號誌要求的最大數目。</param>
1349 <exception cref="T:System.ArgumentOutOfRangeException">
1350 <paramref name="initialCount" /> 小於 0,或者 <paramref name="initialCount" /> 大於 <paramref name="maxCount" />,或者 <paramref name="maxCount" /> 等於或小於 0。</exception>
1352 <member name="P:System.Threading.SemaphoreSlim.AvailableWaitHandle">
1353 <summary>傳回可用來等候號誌的 <see cref="T:System.Threading.WaitHandle" />。</summary>
1354 <returns>可用來等候號誌的 <see cref="T:System.Threading.WaitHandle" />。</returns>
1355 <exception cref="T:System.ObjectDisposedException">
1356 <see cref="T:System.Threading.SemaphoreSlim" /> 已經處置。</exception>
1358 <member name="P:System.Threading.SemaphoreSlim.CurrentCount">
1359 <summary>取得可以進入 <see cref="T:System.Threading.SemaphoreSlim" /> 物件的剩餘執行緒數目。</summary>
1360 <returns>可以進入號誌的剩餘執行緒數目。</returns>
1362 <member name="M:System.Threading.SemaphoreSlim.Dispose">
1363 <summary>釋放 <see cref="T:System.Threading.SemaphoreSlim" /> 類別目前的執行個體所使用的全部資源。</summary>
1365 <member name="M:System.Threading.SemaphoreSlim.Dispose(System.Boolean)">
1366 <summary>釋放 <see cref="T:System.Threading.SemaphoreSlim" /> 所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。</summary>
1367 <param name="disposing">true 表示釋放 Managed 和 Unmanaged 資源,false 則表示只釋放 Unmanaged 資源。</param>
1369 <member name="M:System.Threading.SemaphoreSlim.Release">
1370 <summary>釋出 <see cref="T:System.Threading.SemaphoreSlim" /> 物件一次。</summary>
1372 <see cref="T:System.Threading.SemaphoreSlim" /> 的先前計數。</returns>
1373 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
1374 <exception cref="T:System.Threading.SemaphoreFullException">
1375 <see cref="T:System.Threading.SemaphoreSlim" /> 已經達到其大小上限。</exception>
1377 <member name="M:System.Threading.SemaphoreSlim.Release(System.Int32)">
1378 <summary>釋出 <see cref="T:System.Threading.SemaphoreSlim" /> 物件指定的次數。</summary>
1380 <see cref="T:System.Threading.SemaphoreSlim" /> 的先前計數。</returns>
1381 <param name="releaseCount">結束號誌的次數。</param>
1382 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
1383 <exception cref="T:System.ArgumentOutOfRangeException">
1384 <paramref name="releaseCount" /> 为小于 1。</exception>
1385 <exception cref="T:System.Threading.SemaphoreFullException">
1386 <see cref="T:System.Threading.SemaphoreSlim" /> 已經達到其大小上限。</exception>
1388 <member name="M:System.Threading.SemaphoreSlim.Wait">
1389 <summary>封鎖目前的執行緒,直到這個執行緒可以進入 <see cref="T:System.Threading.SemaphoreSlim" /> 為止。</summary>
1390 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
1392 <member name="M:System.Threading.SemaphoreSlim.Wait(System.Int32)">
1393 <summary>封鎖目前的執行緒,直到這個執行緒可以進入 <see cref="T:System.Threading.SemaphoreSlim" /> 為止,並使用 32 位元帶正負號的整數來指定逾時。</summary>
1394 <returns>如果目前的執行緒成功進入 <see cref="T:System.Threading.SemaphoreSlim" />,則為 true,否則為 false。</returns>
1395 <param name="millisecondsTimeout">要等候的毫秒數;若要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" />(-1)。</param>
1396 <exception cref="T:System.ArgumentOutOfRangeException">
1397 <paramref name="millisecondsTimeout" /> 是一個不等於 -1 的負數,-1 表示等候逾時為無限。</exception>
1399 <member name="M:System.Threading.SemaphoreSlim.Wait(System.Int32,System.Threading.CancellationToken)">
1400 <summary>封鎖目前的執行緒,直到這個執行緒可以進入 <see cref="T:System.Threading.SemaphoreSlim" /> 為止,並使用 32 位元帶正負號的整數來指定逾時,同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
1401 <returns>如果目前的執行緒成功進入 <see cref="T:System.Threading.SemaphoreSlim" />,則為 true,否則為 false。</returns>
1402 <param name="millisecondsTimeout">要等候的毫秒數;若要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" />(-1)。</param>
1403 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
1404 <exception cref="T:System.OperationCanceledException">
1405 <paramref name="cancellationToken" /> 已取消。</exception>
1406 <exception cref="T:System.ArgumentOutOfRangeException">
1407 <paramref name="millisecondsTimeout" /> 是一個不等於 -1 的負數,-1 表示等候逾時為無限。</exception>
1408 <exception cref="T:System.ObjectDisposedException">
1409 <see cref="T:System.Threading.SemaphoreSlim" /> 实例已被释放,或 <see cref="T:System.Threading.CancellationTokenSource" /> 创建 <paramref name="cancellationToken" /> 已被释放。</exception>
1411 <member name="M:System.Threading.SemaphoreSlim.Wait(System.Threading.CancellationToken)">
1412 <summary>封鎖目前的執行緒,直到這個執行緒可以進入 <see cref="T:System.Threading.SemaphoreSlim" /> 為止,同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
1413 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" /> 語彙基元。</param>
1414 <exception cref="T:System.OperationCanceledException">
1415 <paramref name="cancellationToken" /> 已取消。</exception>
1416 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。-或-<see cref="T:System.Threading.CancellationTokenSource" /> 创建<paramref name=" cancellationToken" /> 已释放。</exception>
1418 <member name="M:System.Threading.SemaphoreSlim.Wait(System.TimeSpan)">
1419 <summary>封鎖目前的執行緒,直到這個執行緒可以進入 <see cref="T:System.Threading.SemaphoreSlim" /> 為止,並使用 <see cref="T:System.TimeSpan" /> 來指定逾時。</summary>
1420 <returns>如果目前的執行緒成功進入 <see cref="T:System.Threading.SemaphoreSlim" />,則為 true,否則為 false。</returns>
1421 <param name="timeout">
1422 <see cref="T:System.TimeSpan" />,代表等候毫秒數;或是 <see cref="T:System.TimeSpan" />,代表無限期等候的 -1 毫秒。</param>
1423 <exception cref="T:System.ArgumentOutOfRangeException">
1424 <paramref name="timeout" /> 是除了 -1 毫秒以外的負數,表示無限逾時,或是大於 <see cref="F:System.Int32.MaxValue" /> 的逾時。</exception>
1425 <exception cref="T:System.ObjectDisposedException">semaphoreSlim 執行個體已經處置 <paramref name="." /></exception>
1427 <member name="M:System.Threading.SemaphoreSlim.Wait(System.TimeSpan,System.Threading.CancellationToken)">
1428 <summary>封鎖目前的執行緒,直到這個執行緒可以進入 <see cref="T:System.Threading.SemaphoreSlim" /> 為止,並使用 <see cref="T:System.TimeSpan" /> 來指定逾時,同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
1429 <returns>如果目前的執行緒成功進入 <see cref="T:System.Threading.SemaphoreSlim" />,則為 true,否則為 false。</returns>
1430 <param name="timeout">
1431 <see cref="T:System.TimeSpan" />,代表等候毫秒數;或是 <see cref="T:System.TimeSpan" />,代表無限期等候的 -1 毫秒。</param>
1432 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
1433 <exception cref="T:System.OperationCanceledException">
1434 <paramref name="cancellationToken" /> 已取消。</exception>
1435 <exception cref="T:System.ArgumentOutOfRangeException">
1436 <paramref name="timeout" /> 是除了 -1 毫秒以外的負數,表示無限逾時,或是大於 <see cref="F:System.Int32.MaxValue" /> 的逾時。</exception>
1437 <exception cref="T:System.ObjectDisposedException">semaphoreSlim 執行個體已經處置 <paramref name="." /><paramref name="-or-" />已處置建立 <see cref="T:System.Threading.CancellationTokenSource" /> 的 <paramref name="cancellationToken" />。</exception>
1439 <member name="M:System.Threading.SemaphoreSlim.WaitAsync">
1440 <summary>以非同步方式等候進入 <see cref="T:System.Threading.SemaphoreSlim" />。</summary>
1441 <returns>將會在號誌 (Semaphore) 輸入後完成的工作。</returns>
1443 <member name="M:System.Threading.SemaphoreSlim.WaitAsync(System.Int32)">
1444 <summary>以非同步方式等候進入 <see cref="T:System.Threading.SemaphoreSlim" />,並使用 32 位元帶正負號的整數來測量時間間隔。</summary>
1445 <returns>如果目前的執行緒成功進入 <see cref="T:System.Threading.SemaphoreSlim" />,則工作會完成且結果為 true,否則結果為 false。</returns>
1446 <param name="millisecondsTimeout">要等候的毫秒數,如果要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" /> (-1)。</param>
1447 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
1448 <exception cref="T:System.ArgumentOutOfRangeException">
1449 <paramref name="millisecondsTimeout" /> 是一個不等於 -1 的負數,-1 表示等候逾時為無限。</exception>
1451 <member name="M:System.Threading.SemaphoreSlim.WaitAsync(System.Int32,System.Threading.CancellationToken)">
1452 <summary>以非同步方式等候進入 <see cref="T:System.Threading.SemaphoreSlim" />,並使用 32 位元帶正負號的整數來測量時間間隔,同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
1453 <returns>如果目前的執行緒成功進入 <see cref="T:System.Threading.SemaphoreSlim" />,則工作會完成且結果為 true,否則結果為 false。</returns>
1454 <param name="millisecondsTimeout">要等候的毫秒數,如果要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" /> (-1)。</param>
1455 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" />。</param>
1456 <exception cref="T:System.ArgumentOutOfRangeException">
1457 <paramref name="millisecondsTimeout" /> 是一個不等於 -1 的負數,-1 表示等候逾時為無限。</exception>
1458 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
1459 <exception cref="T:System.OperationCanceledException">
1460 <paramref name="cancellationToken" /> 已取消。</exception>
1462 <member name="M:System.Threading.SemaphoreSlim.WaitAsync(System.Threading.CancellationToken)">
1463 <summary>以非同步方式等候進入 <see cref="T:System.Threading.SemaphoreSlim" />,同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
1464 <returns>將會在號誌 (Semaphore) 輸入後完成的工作。</returns>
1465 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" /> 語彙基元。</param>
1466 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
1467 <exception cref="T:System.OperationCanceledException">
1468 <paramref name="cancellationToken" /> 已取消。</exception>
1470 <member name="M:System.Threading.SemaphoreSlim.WaitAsync(System.TimeSpan)">
1471 <summary>以非同步方式等候進入 <see cref="T:System.Threading.SemaphoreSlim" />,並使用 <see cref="T:System.TimeSpan" /> 來測量時間間隔。</summary>
1472 <returns>如果目前的執行緒成功進入 <see cref="T:System.Threading.SemaphoreSlim" />,則工作會完成且結果為 true,否則結果為 false。</returns>
1473 <param name="timeout">
1474 <see cref="T:System.TimeSpan" />,代表等候毫秒數;或是 <see cref="T:System.TimeSpan" />,代表無限期等候的 -1 毫秒。</param>
1475 <exception cref="T:System.ObjectDisposedException">目前的執行個體已經處置。</exception>
1476 <exception cref="T:System.ArgumentOutOfRangeException">
1477 <paramref name="millisecondsTimeout" /> 是不等於 -1 的負數,-1 表示等候逾時為無限 -或- 逾時大於 <see cref="F:System.Int32.MaxValue" />。</exception>
1479 <member name="M:System.Threading.SemaphoreSlim.WaitAsync(System.TimeSpan,System.Threading.CancellationToken)">
1480 <summary>以非同步方式等候進入 <see cref="T:System.Threading.SemaphoreSlim" />,並使用 <see cref="T:System.TimeSpan" /> 來測量時間間隔,同時觀察 <see cref="T:System.Threading.CancellationToken" />。</summary>
1481 <returns>如果目前的執行緒成功進入 <see cref="T:System.Threading.SemaphoreSlim" />,則工作會完成且結果為 true,否則結果為 false。</returns>
1482 <param name="timeout">
1483 <see cref="T:System.TimeSpan" />,代表等候毫秒數;或是 <see cref="T:System.TimeSpan" />,代表無限期等候的 -1 毫秒。</param>
1484 <param name="cancellationToken">要觀察的 <see cref="T:System.Threading.CancellationToken" /> 語彙基元。</param>
1485 <exception cref="T:System.ArgumentOutOfRangeException">
1486 <paramref name="millisecondsTimeout" /> 是不等於 -1 的負數,-1 表示等候逾時為無限-或-逾時大於 <see cref="F:System.Int32.MaxValue" />。</exception>
1487 <exception cref="T:System.OperationCanceledException">
1488 <paramref name="cancellationToken" /> 已取消。</exception>
1490 <member name="T:System.Threading.SendOrPostCallback">
1491 <summary>表示要將訊息分派至同步處理內容時,所要呼叫的方法。</summary>
1492 <param name="state">傳送至委派的物件。</param>
1493 <filterpriority>2</filterpriority>
1495 <member name="T:System.Threading.SpinLock">
1496 <summary>提供互斥鎖定基本作業,在這個作業中,嘗試取得鎖定的執行緒會用迴圈方式等候,並重複檢查,直到鎖定可用為止。</summary>
1498 <member name="M:System.Threading.SpinLock.#ctor(System.Boolean)">
1499 <summary>使用可追蹤執行緒 ID 以改善偵錯的選項,初始化 <see cref="T:System.Threading.SpinLock" /> 結構的新執行個體。</summary>
1500 <param name="enableThreadOwnerTracking">是否要擷取並使用執行緒 ID 以進行偵錯。</param>
1502 <member name="M:System.Threading.SpinLock.Enter(System.Boolean@)">
1503 <summary>以可靠的方式取得鎖定,例如即使方法呼叫中發生例外狀況,還是能可靠地檢查 <paramref name="lockTaken" /> 以判斷是否已取得鎖定。</summary>
1504 <param name="lockTaken">如果取得鎖定則為 true,否則為 false。<paramref name="lockTaken" /> 必須在呼叫這個方法之前初始化為 false。</param>
1505 <exception cref="T:System.ArgumentException">
1506 <paramref name="lockTaken" /> 引數必須在呼叫 Enter 之前初始化為 False。</exception>
1507 <exception cref="T:System.Threading.LockRecursionException">已啟用執行緒擁有權追蹤,且目前的執行緒已經取得這個鎖定。</exception>
1509 <member name="M:System.Threading.SpinLock.Exit">
1510 <summary>釋放鎖定。</summary>
1511 <exception cref="T:System.Threading.SynchronizationLockException">已啟用執行緒擁有權追蹤,且目前的執行緒不是這個鎖定的擁有者。</exception>
1513 <member name="M:System.Threading.SpinLock.Exit(System.Boolean)">
1514 <summary>釋放鎖定。</summary>
1515 <param name="useMemoryBarrier">布林值,表示是否應該發出記憶體柵欄,以便立即將結束作業發行至其他執行緒。</param>
1516 <exception cref="T:System.Threading.SynchronizationLockException">已啟用執行緒擁有權追蹤,且目前的執行緒不是這個鎖定的擁有者。</exception>
1518 <member name="P:System.Threading.SpinLock.IsHeld">
1519 <summary>取得值,這個值表示此鎖定目前是否由任何執行緒持有。</summary>
1520 <returns>如果此鎖定目前由任何執行緒持有則為 true,否則為 false。</returns>
1522 <member name="P:System.Threading.SpinLock.IsHeldByCurrentThread">
1523 <summary>取得值,表示此鎖定是否由目前執行緒持有。</summary>
1524 <returns>如果此鎖定由目前執行緒持有則為 true,否則為 false。</returns>
1525 <exception cref="T:System.InvalidOperationException">已停用執行緒擁有權追蹤。</exception>
1527 <member name="P:System.Threading.SpinLock.IsThreadOwnerTrackingEnabled">
1528 <summary>取得值,表示這個執行個體是否已啟用執行緒擁有權追蹤。</summary>
1529 <returns>如果這個執行個體已啟用執行緒擁有權追蹤則為 true,否則為 false。</returns>
1531 <member name="M:System.Threading.SpinLock.TryEnter(System.Boolean@)">
1532 <summary>嘗試以可靠的方式取得鎖定,例如即使方法呼叫中發生例外狀況,還是能可靠地檢查 <paramref name="lockTaken" /> 以判斷是否已取得鎖定。</summary>
1533 <param name="lockTaken">如果取得鎖定則為 true,否則為 false。<paramref name="lockTaken" /> 必須在呼叫這個方法之前初始化為 false。</param>
1534 <exception cref="T:System.ArgumentException">
1535 <paramref name="lockTaken" /> 引數必須在呼叫 TryEnter 之前初始化為 False。</exception>
1536 <exception cref="T:System.Threading.LockRecursionException">已啟用執行緒擁有權追蹤,且目前的執行緒已經取得這個鎖定。</exception>
1538 <member name="M:System.Threading.SpinLock.TryEnter(System.Int32,System.Boolean@)">
1539 <summary>嘗試以可靠的方式取得鎖定,例如即使方法呼叫中發生例外狀況,還是能可靠地檢查 <paramref name="lockTaken" /> 以判斷是否已取得鎖定。</summary>
1540 <param name="millisecondsTimeout">要等候的毫秒數,如果要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" /> (-1)。</param>
1541 <param name="lockTaken">如果取得鎖定則為 true,否則為 false。<paramref name="lockTaken" /> 必須在呼叫這個方法之前初始化為 false。</param>
1542 <exception cref="T:System.ArgumentOutOfRangeException">
1543 <paramref name="millisecondsTimeout" /> 是一個不等於 -1 的負數,-1 表示等候逾時為無限。</exception>
1544 <exception cref="T:System.ArgumentException">
1545 <paramref name="lockTaken" /> 引數必須在呼叫 TryEnter 之前初始化為 False。</exception>
1546 <exception cref="T:System.Threading.LockRecursionException">已啟用執行緒擁有權追蹤,且目前的執行緒已經取得這個鎖定。</exception>
1548 <member name="M:System.Threading.SpinLock.TryEnter(System.TimeSpan,System.Boolean@)">
1549 <summary>嘗試以可靠的方式取得鎖定,例如即使方法呼叫中發生例外狀況,還是能可靠地檢查 <paramref name="lockTaken" /> 以判斷是否已取得鎖定。</summary>
1550 <param name="timeout">
1551 <see cref="T:System.TimeSpan" />,表示要等候的毫秒數,或是 <see cref="T:System.TimeSpan" />,表示無限期等候的 -1 毫秒。</param>
1552 <param name="lockTaken">如果取得鎖定則為 true,否則為 false。<paramref name="lockTaken" /> 必須在呼叫這個方法之前初始化為 false。</param>
1553 <exception cref="T:System.ArgumentOutOfRangeException">
1554 <paramref name="timeout" /> 是除了 -1 毫秒以外的負數,表示無限逾時,或是大於 <see cref="F:System.Int32.MaxValue" /> 毫秒的逾時。</exception>
1555 <exception cref="T:System.ArgumentException">
1556 <paramref name="lockTaken" /> 引數必須在呼叫 TryEnter 之前初始化為 False。</exception>
1557 <exception cref="T:System.Threading.LockRecursionException">已啟用執行緒擁有權追蹤,且目前的執行緒已經取得這個鎖定。</exception>
1559 <member name="T:System.Threading.SpinWait">
1560 <summary>提供微調式等候支援。</summary>
1562 <member name="P:System.Threading.SpinWait.Count">
1563 <summary>取得已在這個執行個體上呼叫 <see cref="M:System.Threading.SpinWait.SpinOnce" /> 的次數。</summary>
1564 <returns>傳回整數,表示已在這個執行個體上呼叫 <see cref="M:System.Threading.SpinWait.SpinOnce" /> 的次數。</returns>
1566 <member name="P:System.Threading.SpinWait.NextSpinWillYield">
1567 <summary>取得值,這個值表示下一次呼叫 <see cref="M:System.Threading.SpinWait.SpinOnce" /> 時是否讓出處理器,並觸發強制的環境切換。</summary>
1568 <returns>下一次呼叫 <see cref="M:System.Threading.SpinWait.SpinOnce" /> 時是否讓出處理器,並觸發強制的環境切換。</returns>
1570 <member name="M:System.Threading.SpinWait.Reset">
1571 <summary>重設微調計數器。</summary>
1573 <member name="M:System.Threading.SpinWait.SpinOnce">
1574 <summary>執行單一微調。</summary>
1576 <member name="M:System.Threading.SpinWait.SpinUntil(System.Func{System.Boolean})">
1577 <summary>執行微調,直到滿足指定的條件為止。</summary>
1578 <param name="condition">會重複執行直到傳回 true 為止的委派。</param>
1579 <exception cref="T:System.ArgumentNullException">
1580 <paramref name="condition" /> 引數為 null。</exception>
1582 <member name="M:System.Threading.SpinWait.SpinUntil(System.Func{System.Boolean},System.Int32)">
1583 <summary>執行微調,直到滿足指定的條件或是指定的逾時過期為止。</summary>
1584 <returns>如果滿足條件則為 true,否則為 false。</returns>
1585 <param name="condition">會重複執行直到傳回 true 為止的委派。</param>
1586 <param name="millisecondsTimeout">要等候的毫秒數,如果要無限期等候,則為 <see cref="F:System.Threading.Timeout.Infinite" /> (-1)。</param>
1587 <exception cref="T:System.ArgumentNullException">
1588 <paramref name="condition" /> 引數為 null。</exception>
1589 <exception cref="T:System.ArgumentOutOfRangeException">
1590 <paramref name="millisecondsTimeout" /> 是一個不等於 -1 的負數,-1 表示等候逾時為無限。</exception>
1592 <member name="M:System.Threading.SpinWait.SpinUntil(System.Func{System.Boolean},System.TimeSpan)">
1593 <summary>執行微調,直到滿足指定的條件或是指定的逾時過期為止。</summary>
1594 <returns>如果滿足條件則為 true,否則為 false。</returns>
1595 <param name="condition">會重複執行直到傳回 true 為止的委派。</param>
1596 <param name="timeout">
1597 <see cref="T:System.TimeSpan" />,表示要等候的毫秒數,或是 TimeSpan,表示無限期等候的 -1 毫秒。</param>
1598 <exception cref="T:System.ArgumentNullException">
1599 <paramref name="condition" /> 引數為 null。</exception>
1600 <exception cref="T:System.ArgumentOutOfRangeException">
1601 <paramref name="timeout" /> 是除了 -1 毫秒以外的負數,表示無限逾時,或是大於 <see cref="F:System.Int32.MaxValue" /> 的逾時。</exception>
1603 <member name="T:System.Threading.SynchronizationContext">
1604 <summary>提供在各種同步處理模式中傳播同步處理內容的基本功能。</summary>
1605 <filterpriority>2</filterpriority>
1607 <member name="M:System.Threading.SynchronizationContext.#ctor">
1608 <summary>建立 <see cref="T:System.Threading.SynchronizationContext" /> 類別的新執行個體。</summary>
1610 <member name="M:System.Threading.SynchronizationContext.CreateCopy">
1611 <summary>在衍生類別中覆寫時,會建立同步處理內容的複本。 </summary>
1612 <returns>新的 <see cref="T:System.Threading.SynchronizationContext" /> 物件。</returns>
1613 <filterpriority>2</filterpriority>
1615 <member name="P:System.Threading.SynchronizationContext.Current">
1616 <summary>取得目前執行緒的同步處理內容。</summary>
1618 <see cref="T:System.Threading.SynchronizationContext" /> 物件,代表目前的同步處理內容。</returns>
1619 <filterpriority>1</filterpriority>
1621 <member name="M:System.Threading.SynchronizationContext.OperationCompleted">
1622 <summary>在衍生類別中覆寫時,會回應作業已經完成的通知。</summary>
1624 <member name="M:System.Threading.SynchronizationContext.OperationStarted">
1625 <summary>在衍生類別中覆寫時,會回應作業已經啟動的通知。</summary>
1627 <member name="M:System.Threading.SynchronizationContext.Post(System.Threading.SendOrPostCallback,System.Object)">
1628 <summary>在衍生類別中覆寫時,會將非同步訊息分派至同步處理內容。</summary>
1629 <param name="d">要呼叫的 <see cref="T:System.Threading.SendOrPostCallback" /> 委派。</param>
1630 <param name="state">傳送至委派的物件。</param>
1631 <filterpriority>2</filterpriority>
1633 <member name="M:System.Threading.SynchronizationContext.Send(System.Threading.SendOrPostCallback,System.Object)">
1634 <summary>在衍生類別中覆寫時,會將同步訊息分派至同步處理內容。</summary>
1635 <param name="d">要呼叫的 <see cref="T:System.Threading.SendOrPostCallback" /> 委派。</param>
1636 <param name="state">傳送至委派的物件。</param>
1637 <exception cref="T:System.NotSupportedException">The method was called in a Windows Store app.The implementation of <see cref="T:System.Threading.SynchronizationContext" /> for Windows Store apps does not support the <see cref="M:System.Threading.SynchronizationContext.Send(System.Threading.SendOrPostCallback,System.Object)" /> method.</exception>
1638 <filterpriority>2</filterpriority>
1640 <member name="M:System.Threading.SynchronizationContext.SetSynchronizationContext(System.Threading.SynchronizationContext)">
1641 <summary>設定目前的同步處理內容。</summary>
1642 <param name="syncContext">要設定的 <see cref="T:System.Threading.SynchronizationContext" /> 物件。</param>
1643 <filterpriority>1</filterpriority>
1645 <IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="ControlEvidence, ControlPolicy" />
1648 <member name="T:System.Threading.SynchronizationLockException">
1649 <summary>方法要求呼叫端擁有指定 Monitor 的鎖定,但是不擁有鎖定的呼叫端叫用方法時所擲回的例外狀況。</summary>
1650 <filterpriority>2</filterpriority>
1652 <member name="M:System.Threading.SynchronizationLockException.#ctor">
1653 <summary>使用預設屬性來初始化 <see cref="T:System.Threading.SynchronizationLockException" /> 類別的新執行個體。</summary>
1655 <member name="M:System.Threading.SynchronizationLockException.#ctor(System.String)">
1656 <summary>使用指定的錯誤訊息,初始化 <see cref="T:System.Threading.SynchronizationLockException" /> 類別的新執行個體。</summary>
1657 <param name="message">解釋例外狀況原因的錯誤訊息。</param>
1659 <member name="M:System.Threading.SynchronizationLockException.#ctor(System.String,System.Exception)">
1660 <summary>使用指定的錯誤訊息和造成這個例外狀況原因的內部例外狀況參考,初始化 <see cref="T:System.Threading.SynchronizationLockException" /> 類別的新執行個體。</summary>
1661 <param name="message">解釋例外狀況原因的錯誤訊息。</param>
1662 <param name="innerException">導致目前例外狀況的例外。如果 <paramref name="innerException" /> 參數不是 null,則目前的例外狀況會在處理內部例外的 catch 區塊中引發。</param>
1664 <member name="T:System.Threading.ThreadLocal`1">
1665 <summary>提供資料的執行緒區域儲存區。</summary>
1666 <typeparam name="T">指定依個別執行緒儲存的資料型別。</typeparam>
1668 <member name="M:System.Threading.ThreadLocal`1.#ctor">
1669 <summary>初始化 <see cref="T:System.Threading.ThreadLocal`1" /> 執行個體。</summary>
1671 <member name="M:System.Threading.ThreadLocal`1.#ctor(System.Boolean)">
1672 <summary>初始化 <see cref="T:System.Threading.ThreadLocal`1" /> 執行個體。</summary>
1673 <param name="trackAllValues">是否要追蹤所有在執行個體上設定的值,並透過<see cref="P:System.Threading.ThreadLocal`1.Values" />屬性將它們公開。</param>
1675 <member name="M:System.Threading.ThreadLocal`1.#ctor(System.Func{`0})">
1676 <summary>使用指定的 <paramref name="valueFactory" /> 函式來初始化 <see cref="T:System.Threading.ThreadLocal`1" /> 的執行個體。</summary>
1677 <param name="valueFactory">當嘗試擷取未事先初始化的 <see cref="P:System.Threading.ThreadLocal`1.Value" /> 時,系統會叫用 <see cref="T:System.Func`1" /> 來產生延遲初始化的值。</param>
1678 <exception cref="T:System.ArgumentNullException">
1679 <paramref name="valueFactory" /> 是 Null 參考 (在 Visual Basic 中為 Nothing)。</exception>
1681 <member name="M:System.Threading.ThreadLocal`1.#ctor(System.Func{`0},System.Boolean)">
1682 <summary>使用指定的 <paramref name="valueFactory" /> 函式來初始化 <see cref="T:System.Threading.ThreadLocal`1" /> 的執行個體。</summary>
1683 <param name="valueFactory">當嘗試擷取未事先初始化的 <see cref="P:System.Threading.ThreadLocal`1.Value" /> 時,系統會叫用 <see cref="T:System.Func`1" /> 來產生延遲初始化的值。</param>
1684 <param name="trackAllValues">是否要追蹤所有在執行個體上設定的值,並透過<see cref="P:System.Threading.ThreadLocal`1.Values" />屬性將它們公開。</param>
1685 <exception cref="T:System.ArgumentNullException">
1686 <paramref name="valueFactory" /> 為 null 參考 (在 Visual Basic 中為 Nothing)。</exception>
1688 <member name="M:System.Threading.ThreadLocal`1.Dispose">
1689 <summary>將 <see cref="T:System.Threading.ThreadLocal`1" /> 類別目前的執行個體所使用的資源全部釋出。</summary>
1691 <member name="M:System.Threading.ThreadLocal`1.Dispose(System.Boolean)">
1692 <summary>釋放這個 <see cref="T:System.Threading.ThreadLocal`1" /> 執行個體所使用的資源。</summary>
1693 <param name="disposing">布林值,表示是否會因為呼叫 <see cref="M:System.Threading.ThreadLocal`1.Dispose" /> 而呼叫這個方法。</param>
1695 <member name="M:System.Threading.ThreadLocal`1.Finalize">
1696 <summary>釋放這個 <see cref="T:System.Threading.ThreadLocal`1" /> 執行個體所使用的資源。</summary>
1698 <member name="P:System.Threading.ThreadLocal`1.IsValueCreated">
1699 <summary>取得值,這個值表示 <see cref="P:System.Threading.ThreadLocal`1.Value" /> 是否已在目前執行緒中完成初始化。</summary>
1700 <returns>如果已在目前執行緒上初始化 <see cref="P:System.Threading.ThreadLocal`1.Value" /> 則為 true,否則為 false。</returns>
1701 <exception cref="T:System.ObjectDisposedException">已處置 <see cref="T:System.Threading.ThreadLocal`1" /> 執行個體。</exception>
1703 <member name="M:System.Threading.ThreadLocal`1.ToString">
1704 <summary>建立並傳回目前執行緒的這個執行個體的字串表示。</summary>
1705 <returns>在 <see cref="P:System.Threading.ThreadLocal`1.Value" /> 上呼叫 <see cref="M:System.Object.ToString" /> 的結果。</returns>
1706 <exception cref="T:System.ObjectDisposedException">已處置 <see cref="T:System.Threading.ThreadLocal`1" /> 執行個體。</exception>
1707 <exception cref="T:System.NullReferenceException">目前執行緒的 <see cref="P:System.Threading.ThreadLocal`1.Value" /> 是 Null 參考 (在 Visual Basic 中為 Nothing)。</exception>
1708 <exception cref="T:System.InvalidOperationException">初始化函式會嘗試遞迴參考 <see cref="P:System.Threading.ThreadLocal`1.Value" /> 。</exception>
1709 <exception cref="T:System.MissingMemberException">沒有提供任何預設的建構函式,也沒有提供任何値 Factory。</exception>
1711 <member name="P:System.Threading.ThreadLocal`1.Value">
1712 <summary>取得或設定目前執行緒的這個執行個體的值。</summary>
1713 <returns>傳回這個 ThreadLocal 負責初始化之物件的執行個體。</returns>
1714 <exception cref="T:System.ObjectDisposedException">已處置 <see cref="T:System.Threading.ThreadLocal`1" /> 執行個體。</exception>
1715 <exception cref="T:System.InvalidOperationException">初始化函式會嘗試遞迴參考 <see cref="P:System.Threading.ThreadLocal`1.Value" /> 。</exception>
1716 <exception cref="T:System.MissingMemberException">沒有提供任何預設的建構函式,也沒有提供任何値 Factory。</exception>
1718 <member name="P:System.Threading.ThreadLocal`1.Values">
1719 <summary>取得清單,其中包含已存取這個執行個體的所有執行緒目前所儲存的所有值。</summary>
1720 <returns>已存取這個執行個體的所有執行緒目前所儲存之所有值的清單。</returns>
1721 <exception cref="T:System.ObjectDisposedException">已處置 <see cref="T:System.Threading.ThreadLocal`1" /> 執行個體。</exception>
1723 <member name="T:System.Threading.Volatile">
1724 <summary>包含用來執行動態記憶體作業的方法。</summary>
1726 <member name="M:System.Threading.Volatile.Read(System.Boolean@)">
1727 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1728 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1729 <param name="location">要讀取的欄位。</param>
1731 <member name="M:System.Threading.Volatile.Read(System.Byte@)">
1732 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1733 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1734 <param name="location">要讀取的欄位。</param>
1736 <member name="M:System.Threading.Volatile.Read(System.Double@)">
1737 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1738 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1739 <param name="location">要讀取的欄位。</param>
1741 <member name="M:System.Threading.Volatile.Read(System.Int16@)">
1742 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1743 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1744 <param name="location">要讀取的欄位。</param>
1746 <member name="M:System.Threading.Volatile.Read(System.Int32@)">
1747 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1748 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1749 <param name="location">要讀取的欄位。</param>
1751 <member name="M:System.Threading.Volatile.Read(System.Int64@)">
1752 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1753 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1754 <param name="location">要讀取的欄位。</param>
1756 <member name="M:System.Threading.Volatile.Read(System.IntPtr@)">
1757 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1758 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1759 <param name="location">要讀取的欄位。</param>
1761 <member name="M:System.Threading.Volatile.Read(System.SByte@)">
1762 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1763 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1764 <param name="location">要讀取的欄位。</param>
1766 <member name="M:System.Threading.Volatile.Read(System.Single@)">
1767 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1768 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1769 <param name="location">要讀取的欄位。</param>
1771 <member name="M:System.Threading.Volatile.Read(System.UInt16@)">
1772 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1773 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1774 <param name="location">要讀取的欄位。</param>
1776 <member name="M:System.Threading.Volatile.Read(System.UInt32@)">
1777 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1778 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1779 <param name="location">要讀取的欄位。</param>
1781 <member name="M:System.Threading.Volatile.Read(System.UInt64@)">
1782 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1783 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1784 <param name="location">要讀取的欄位。</param>
1786 <member name="M:System.Threading.Volatile.Read(System.UIntPtr@)">
1787 <summary>讀取指定之欄位的值。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1788 <returns>已讀取的值。這個值是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1789 <param name="location">要讀取的欄位。</param>
1791 <member name="M:System.Threading.Volatile.Read``1(``0@)">
1792 <summary>從指定的欄位讀取物件參考。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之後出現讀取或寫入,處理器便無法在這個方法之前移動它。</summary>
1793 <returns>已讀取之 <paramref name="T" /> 的參考。這個參考是由電腦中的任何處理器最新寫入的,與處理器的數目或處理器快取的狀態無關。</returns>
1794 <param name="location">要讀取的欄位。</param>
1795 <typeparam name="T">要讀取之欄位的型別。此型別必須是參考型別,不得為實值型別。</typeparam>
1797 <member name="M:System.Threading.Volatile.Write(System.Boolean@,System.Boolean)">
1798 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1799 <param name="location">寫入此值的欄位。</param>
1800 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1802 <member name="M:System.Threading.Volatile.Write(System.Byte@,System.Byte)">
1803 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1804 <param name="location">寫入此值的欄位。</param>
1805 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1807 <member name="M:System.Threading.Volatile.Write(System.Double@,System.Double)">
1808 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1809 <param name="location">寫入此值的欄位。</param>
1810 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1812 <member name="M:System.Threading.Volatile.Write(System.Int16@,System.Int16)">
1813 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1814 <param name="location">寫入此值的欄位。</param>
1815 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1817 <member name="M:System.Threading.Volatile.Write(System.Int32@,System.Int32)">
1818 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1819 <param name="location">寫入此值的欄位。</param>
1820 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1822 <member name="M:System.Threading.Volatile.Write(System.Int64@,System.Int64)">
1823 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現記憶體作業,處理器便無法在這個方法之後移動它。</summary>
1824 <param name="location">寫入此值的欄位。</param>
1825 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1827 <member name="M:System.Threading.Volatile.Write(System.IntPtr@,System.IntPtr)">
1828 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1829 <param name="location">寫入此值的欄位。</param>
1830 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1832 <member name="M:System.Threading.Volatile.Write(System.SByte@,System.SByte)">
1833 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1834 <param name="location">寫入此值的欄位。</param>
1835 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1837 <member name="M:System.Threading.Volatile.Write(System.Single@,System.Single)">
1838 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1839 <param name="location">寫入此值的欄位。</param>
1840 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1842 <member name="M:System.Threading.Volatile.Write(System.UInt16@,System.UInt16)">
1843 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1844 <param name="location">寫入此值的欄位。</param>
1845 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1847 <member name="M:System.Threading.Volatile.Write(System.UInt32@,System.UInt32)">
1848 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1849 <param name="location">寫入此值的欄位。</param>
1850 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1852 <member name="M:System.Threading.Volatile.Write(System.UInt64@,System.UInt64)">
1853 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1854 <param name="location">寫入此值的欄位。</param>
1855 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1857 <member name="M:System.Threading.Volatile.Write(System.UIntPtr@,System.UIntPtr)">
1858 <summary>將指定的值寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1859 <param name="location">寫入此值的欄位。</param>
1860 <param name="value">要寫入的值。立即寫入此值,好讓電腦中的所有處理器都可以看到此值。</param>
1862 <member name="M:System.Threading.Volatile.Write``1(``0@,``0)">
1863 <summary>將指定的物件參考寫入指定的欄位。在需要它的系統上,以如下方式插入可防止處理器重新排序記憶體作業的記憶體屏障:如果程式碼中這個方法之前出現讀取或寫入,處理器便無法在這個方法之後移動它。</summary>
1864 <param name="location">寫入物件參考的欄位。</param>
1865 <param name="value">要寫入的物件參考。立即寫入此參考,好讓電腦中的所有處理器都可以看到此參考。</param>
1866 <typeparam name="T">要寫入之欄位的型別。此型別必須是參考型別,不得為實值型別。</typeparam>
1868 <member name="T:System.Threading.WaitHandleCannotBeOpenedException">
1869 <summary>當嘗試開啟不存在的系統 Mutex 或號誌時,所擲回的例外狀況。</summary>
1870 <filterpriority>2</filterpriority>
1872 <member name="M:System.Threading.WaitHandleCannotBeOpenedException.#ctor">
1873 <summary>使用預設值,初始化 <see cref="T:System.Threading.WaitHandleCannotBeOpenedException" /> 類別的新執行個體。</summary>
1875 <member name="M:System.Threading.WaitHandleCannotBeOpenedException.#ctor(System.String)">
1876 <summary>使用指定的錯誤訊息,初始化 <see cref="T:System.Threading.WaitHandleCannotBeOpenedException" /> 類別的新執行個體。</summary>
1877 <param name="message">解釋例外狀況原因的錯誤訊息。</param>
1879 <member name="M:System.Threading.WaitHandleCannotBeOpenedException.#ctor(System.String,System.Exception)">
1880 <summary>使用指定的錯誤訊息和造成這個例外狀況原因的內部例外狀況參考,初始化 <see cref="T:System.Threading.WaitHandleCannotBeOpenedException" /> 類別的新執行個體。</summary>
1881 <param name="message">解釋例外狀況原因的錯誤訊息。</param>
1882 <param name="innerException">導致目前例外狀況的例外。如果 <paramref name="innerException" /> 參數不是 null,則目前的例外狀況會在處理內部例外的 catch 區塊中引發。</param>