-api-id | -api-type |
---|---|
M:Windows.System.Threading.Core.SignalNotifier.AttachToSemaphore(System.String,Windows.System.Threading.Core.SignalHandler,Windows.Foundation.TimeSpan) |
winrt method |
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.
Names the semaphore that signals the method to run.
Indicates the delegate that will run in response to the named semaphore entering the signaled state.
Indicates the amount of time to continue waiting for the named semaphore before running the delegate.
The resulting SignalNotifier object.