1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628
|
<Type Name="WaitHandle" FullName="System.Threading.WaitHandle" FullNameSP="System_Threading_WaitHandle" Maintainer="ecma">
<TypeSignature Language="ILASM" Value=".class public abstract WaitHandle extends System.MarshalByRefObject implements System.IDisposable" />
<TypeSignature Language="C#" Value="public abstract class WaitHandle : MarshalByRefObject, IDisposable" />
<MemberOfLibrary>BCL</MemberOfLibrary>
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
<Base>
<BaseTypeName>System.MarshalByRefObject</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Docs>
<summary>
<para> Encapsulates operating-system
specific objects that wait for exclusive access
to shared resources.</para>
</summary>
<remarks>
<block subset="none" type="note">
<para> This class is typically used as a base class for
synchronization objects. Classes derived from <see cref="T:System.Threading.WaitHandle" /> define a signaling mechanism to indicate
taking or releasing exclusive access to a shared
resource, but use the inherited <see cref="T:System.Threading.WaitHandle" />
methods to block while waiting for access to shared
resources.
</para>
<para> The static methods of this class are used to block a
<see cref="T:System.Threading.Thread" />
until one or more synchronization objects receive a
signal.
</para>
</block>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" />
<MemberSignature Language="C#" Value="protected WaitHandle ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<summary>
<para>Constructs and initializes a new instance of the <see cref="T:System.Threading.WaitHandle" />
class.</para>
</summary>
<remarks>To be added.</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Close">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual void Close()" />
<MemberSignature Language="C#" Value="public virtual void Close ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Releases all resources held by the current instance.</para>
</summary>
<remarks>
<para>This method is the public version of the <see cref="M:System.IDisposable.Dispose" /> method implemented to
support the <see cref="T:System.IDisposable" /> interface.</para>
<para>
<block subset="none" type="behaviors">
This method releases any unmanaged resources held by the current instance. This method can, but is not required to,
suppress finalization during garbage collection by calling the <see cref="M:System.GC.SuppressFinalize(System.Object)" qualify="true" /> method. </block>
</para>
<para>
<block subset="none" type="default"> As described above.</block>
</para>
<para>
<block subset="none" type="overrides">Override this property to release resources allocated in subclasses.
</block>
</para>
<para>
<block subset="none" type="usage">Use this method to
release all resources held by an instance of <see langword=" WaitHandle" />. Once this method is called, references
to the current instance cause undefined behavior. </block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="ILASM" Value=".method family hidebysig virtual void Dispose(bool explicitDisposing)" />
<MemberSignature Language="C#" Value="protected virtual void Dispose (bool explicitDisposing);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="explicitDisposing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="explicitDisposing">
<see langword="true" /> to release both managed and unmanaged resources; <see langword="false" /> to release only unmanaged resources.</param>
<summary>
<para>Releases the unmanaged resources used by the <see cref="T:System.Threading.WaitHandle" /> and
optionally releases the managed resources.</para>
</summary>
<remarks>
<para>
<block subset="none" type="behaviors">This method
releases all unmanaged resources held by the current instance. When the <paramref name="explicitDisposing" /> parameter is <see langword="true" />, this method releases all resources held by
any managed objects referenced by the current
instance. This method invokes the <see langword="Dispose()" /> method of each referenced
object.</block>
</para>
<para>
<block subset="none" type="overrides">Override this method to dispose of resources allocated by
types derived from <see cref="T:System.Threading.WaitHandle" />. When overriding
<see langword="Dispose" />(<see cref="T:System.Boolean" />), be careful not to
reference objects that have been previously disposed in an earlier call to
<see langword="Dispose" /> or <see langword="Close" /> . <see langword="Dispose" /> can be called multiple
times by other objects. </block>
</para>
<para>
<block subset="none" type="usage">This method is called by the public <see cref="M:System.Threading.WaitHandle.Dispose(System.Boolean)" /> method and the <see cref="M:System.Object.Finalize" /> method.
<see langword="Dispose()" /> invokes this method with the
<paramref name="explicitDisposing" /> parameter
set to <see langword="true" />. <see cref="M:System.Object.Finalize" /> invokes <see langword="Dispose" /> with
<paramref name="explicitDisposing" /> set to <see langword="false" />
.</block>
</para>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Finalize">
<MemberSignature Language="ILASM" Value=".method family hidebysig virtual void Finalize()" />
<MemberSignature Language="C#" Value="~WaitHandle ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para>Releases the resources held by the current instance.</para>
</summary>
<remarks>
<block subset="none" type="note">
<para> Application code does not call this method; it
is automatically invoked during garbage collection unless finalization by the
garbage collector has been disabled. For more information, see <see cref="M:System.GC.SuppressFinalize(System.Object)" qualify="true" />,
and <see cref="M:System.Object.Finalize" qualify="true" />.</para>
<para> This method overrides <see cref="M:System.Object.Finalize" qualify="true" />.</para>
</block>
</remarks>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Handle">
<MemberSignature Language="C#" Value="public virtual IntPtr Handle { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Obsolete("In the profiles > 2.x, use SafeHandle instead of Handle")</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName="InvalidHandle">
<MemberSignature Language="C#" Value="protected static readonly IntPtr InvalidHandle;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.IntPtr</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SafeWaitHandle">
<MemberSignature Language="C#" Value="public Microsoft.Win32.SafeHandles.SafeWaitHandle SafeWaitHandle { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>Microsoft.Win32.SafeHandles.SafeWaitHandle</ReturnType>
</ReturnValue>
<Docs>
<summary>To be added.</summary>
<value>To be added.</value>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SignalAndWait">
<MemberSignature Language="C#" Value="public static bool SignalAndWait (System.Threading.WaitHandle toSignal, System.Threading.WaitHandle toWaitOn);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="toSignal" Type="System.Threading.WaitHandle" />
<Parameter Name="toWaitOn" Type="System.Threading.WaitHandle" />
</Parameters>
<Docs>
<param name="toSignal">To be added.</param>
<param name="toWaitOn">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SignalAndWait">
<MemberSignature Language="C#" Value="public static bool SignalAndWait (System.Threading.WaitHandle toSignal, System.Threading.WaitHandle toWaitOn, int millisecondsTimeout, bool exitContext);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="toSignal" Type="System.Threading.WaitHandle" />
<Parameter Name="toWaitOn" Type="System.Threading.WaitHandle" />
<Parameter Name="millisecondsTimeout" Type="System.Int32" />
<Parameter Name="exitContext" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="toSignal">To be added.</param>
<param name="toWaitOn">To be added.</param>
<param name="millisecondsTimeout">To be added.</param>
<param name="exitContext">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SignalAndWait">
<MemberSignature Language="C#" Value="public static bool SignalAndWait (System.Threading.WaitHandle toSignal, System.Threading.WaitHandle toWaitOn, TimeSpan timeout, bool exitContext);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="toSignal" Type="System.Threading.WaitHandle" />
<Parameter Name="toWaitOn" Type="System.Threading.WaitHandle" />
<Parameter Name="timeout" Type="System.TimeSpan" />
<Parameter Name="exitContext" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="toSignal">To be added.</param>
<param name="toWaitOn">To be added.</param>
<param name="timeout">To be added.</param>
<param name="exitContext">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="System.IDisposable.Dispose">
<MemberSignature Language="C#" Value="void IDisposable.Dispose ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Implemented to support the <see cref="T:System.IDisposable" /> interface. [Note: For more information, see <see cref="M:System.IDisposable.Dispose" />.]</summary>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="WaitAll">
<MemberSignature Language="ILASM" Value=".method public hidebysig static bool WaitAll(class System.Threading.WaitHandle[] waitHandles)" />
<MemberSignature Language="C#" Value="public static bool WaitAll (System.Threading.WaitHandle[] waitHandles);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="waitHandles" Type="System.Threading.WaitHandle[]" />
</Parameters>
<Docs>
<param name="waitHandles">A <see cref="T:System.Threading.WaitHandle" /> array containing the objects for which the current instance will wait. This array cannot contain multiple references to the same object (duplicates).</param>
<summary>
<para> Waits for all of the
elements in the specified array to receive a signal.</para>
</summary>
<returns>
<para>Returns <see langword="true" /> when
every element in <paramref name="waitHandles" /> has received a
signal. If the current
thread receives a request to abort before the signals are received, this method
returns <see langword="false" />. </para>
</returns>
<remarks>
<para>
<SPAN>The maximum number of objects specified in the
<paramref name="waitHandles" /> array is system defined.</SPAN>
</para>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="waitHandles " />is <see langword="null" /> or one or more elements in the <paramref name="waitHandles " /> array is <see langword="null" />.</exception>
<exception cref="T:System.DuplicateWaitObjectException">
<paramref name="waitHandles " />contains elements that are duplicates.</exception>
<exception cref="T:System.NotSupportedException">The number of objects in <paramref name="waitHandles " />is greater than the system permits.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="WaitAll">
<MemberSignature Language="C#" Value="public static bool WaitAll (System.Threading.WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="waitHandles" Type="System.Threading.WaitHandle[]" />
<Parameter Name="millisecondsTimeout" Type="System.Int32" />
<Parameter Name="exitContext" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="waitHandles">To be added.</param>
<param name="millisecondsTimeout">To be added.</param>
<param name="exitContext">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="WaitAll">
<MemberSignature Language="C#" Value="public static bool WaitAll (System.Threading.WaitHandle[] waitHandles, TimeSpan timeout, bool exitContext);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="waitHandles" Type="System.Threading.WaitHandle[]" />
<Parameter Name="timeout" Type="System.TimeSpan" />
<Parameter Name="exitContext" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="waitHandles">To be added.</param>
<param name="timeout">To be added.</param>
<param name="exitContext">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="WaitAny">
<MemberSignature Language="ILASM" Value=".method public hidebysig static int32 WaitAny(class System.Threading.WaitHandle[] waitHandles)" />
<MemberSignature Language="C#" Value="public static int WaitAny (System.Threading.WaitHandle[] waitHandles);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="waitHandles" Type="System.Threading.WaitHandle[]" />
</Parameters>
<Docs>
<param name="waitHandles">A <see cref="T:System.Threading.WaitHandle" /> array containing the objects for which the current instance will wait. This array cannot contain multiple references to the same object (duplicates).</param>
<summary>
<para> Waits for any of the
elements in the specified array to receive a signal.</para>
</summary>
<returns>
<para>Returns a <see cref="T:System.Int32" /> set to the index of
the element in <paramref name="waitHandles" /> that received a signal.</para>
</returns>
<remarks>
<para>
<SPAN>The maximum number of objects specified in the
<paramref name="waitHandles" /> array is system defined.</SPAN>
</para>
<para>
<SPAN>
<SPAN />
</SPAN>
</para>
</remarks>
<exception cref="T:System.ArgumentNullException">
<paramref name="waitHandles " />is <see langword="null" /> or one or more elements in the <paramref name="waitHandles " /> array is <see langword="null" />.</exception>
<exception cref="T:System.DuplicateWaitObjectException">
<paramref name="waitHandles " />contains elements that are duplicates.</exception>
<exception cref="T:System.NotSupportedException">The number of objects in <paramref name="waitHandles " />is greater than the system permits.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName="WaitAny">
<MemberSignature Language="C#" Value="public static int WaitAny (System.Threading.WaitHandle[] waitHandles, int millisecondsTimeout, bool exitContext);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="waitHandles" Type="System.Threading.WaitHandle[]" />
<Parameter Name="millisecondsTimeout" Type="System.Int32" />
<Parameter Name="exitContext" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="waitHandles">To be added.</param>
<param name="millisecondsTimeout">To be added.</param>
<param name="exitContext">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName="WaitAny">
<MemberSignature Language="C#" Value="public static int WaitAny (System.Threading.WaitHandle[] waitHandles, TimeSpan timeout, bool exitContext);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="waitHandles" Type="System.Threading.WaitHandle[]" />
<Parameter Name="timeout" Type="System.TimeSpan" />
<Parameter Name="exitContext" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="waitHandles">To be added.</param>
<param name="timeout">To be added.</param>
<param name="exitContext">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.ConstrainedExecution.ReliabilityContract(System.Runtime.ConstrainedExecution.Consistency.WillNotCorruptState, System.Runtime.ConstrainedExecution.Cer.MayFail)</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName="WaitOne">
<MemberSignature Language="ILASM" Value=".method public hidebysig virtual bool WaitOne()" />
<MemberSignature Language="C#" Value="public virtual bool WaitOne ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>
<para> Blocks the current thread until the current instance receives a signal.</para>
</summary>
<returns>
<para>Returns <see langword="true" />
when the
current instance receives a signal.</para>
</returns>
<remarks>
<para>
<block subset="none" type="behaviors">The caller
of this method blocks indefinitely until a signal is received by the current
instance. </block>
</para>
<para>
<block subset="none" type="overrides">Override
this method to customize the behavior of types derived from <see cref="T:System.Threading.WaitHandle" /> .</block>
</para>
<para>
<block subset="none" type="usage">Use this method to
block until a <see langword=" WaitHandle" />
receives a signal from another thread, such as is
generated when an asynchronous operation completes. For more information, see
the <see cref="T:System.IAsyncResult" /> interface.</block>
</para>
</remarks>
<exception cref="T:System.ObjectDisposedException">The current instance has already been disposed.</exception>
</Docs>
<Excluded>0</Excluded>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="WaitOne">
<MemberSignature Language="C#" Value="public virtual bool WaitOne (int millisecondsTimeout, bool exitContext);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="millisecondsTimeout" Type="System.Int32" />
<Parameter Name="exitContext" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="millisecondsTimeout">To be added.</param>
<param name="exitContext">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="WaitOne">
<MemberSignature Language="C#" Value="public virtual bool WaitOne (TimeSpan timeout, bool exitContext);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="timeout" Type="System.TimeSpan" />
<Parameter Name="exitContext" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="timeout">To be added.</param>
<param name="exitContext">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="WaitTimeout">
<MemberSignature Language="C#" Value="public const int WaitTimeout = 258;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<MemberValue>258</MemberValue>
<Docs>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
<TypeExcluded>0</TypeExcluded>
<Attributes>
<Attribute>
<AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
</Attribute>
</Attributes>
</Type>
|