Semaphore.TryOpenExisting Method

.NET Framework 4.5

Opens a specified named semaphore, if it already exists, and returns a value that indicates whether the operation succeeded.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Static member TryOpenExisting(String, Semaphore) Opens the specified named semaphore, if it already exists, and returns a value that indicates whether the operation succeeded.
Public method Static member TryOpenExisting(String, SemaphoreRights, Semaphore) Opens the specified named semaphore, if it already exists, with the desired security access, and returns a value that indicates whether the operation succeeded.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft