Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.23 KB

signalnotifier_attachtosemaphore_830683200.md

File metadata and controls

33 lines (23 loc) · 1.23 KB
-api-id -api-type
M:Windows.System.Threading.Core.SignalNotifier.AttachToSemaphore(System.String,Windows.System.Threading.Core.SignalHandler,Windows.Foundation.TimeSpan)
winrt method

Windows.System.Threading.Core.SignalNotifier.AttachToSemaphore

-description

Attaches a SignalHandler delegate to a named semaphore and specifies a timeout value. The delegated method will run when the named semaphore is signaled, or if the time span elapses before the semaphore reaches a signaled state.

-parameters

-param name

Names the semaphore that signals the method to run.

-param handler

Indicates the delegate that will run in response to the named semaphore entering the signaled state.

-param timeout

Indicates the amount of time to continue waiting for the named semaphore before running the delegate.

-returns

The resulting SignalNotifier object.

-remarks

-examples

-see-also

AttachToSemaphore(String, SignalHandler)