Udostępnij za pośrednictwem


SignalHandler Delegate

Definition

Represents a method that is called when a signal notifier's attached event or semaphore is signaled, or when the optional timeout value has elapsed (whichever comes first).

public delegate void SignalHandler(SignalNotifier ^ signalNotifier, bool timedOut);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2453422126, 18209, 17422, 157, 218, 85, 182, 242, 224, 119, 16)]
class SignalHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2453422126, 18209, 17422, 157, 218, 85, 182, 242, 224, 119, 16)]
public delegate void SignalHandler(SignalNotifier signalNotifier, bool timedOut);
Public Delegate Sub SignalHandler(signalNotifier As SignalNotifier, timedOut As Boolean)

Parameters

signalNotifier
SignalNotifier

Represents the signal notifier that called the delegate.

timedOut
Boolean

bool

Indicates whether timeout value elapsed before calling the delegate.

Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Applies to