PosixSignalRegistration Class

Definition

Handles a PosixSignal.

C#
public sealed class PosixSignalRegistration : IDisposable
Inheritance
PosixSignalRegistration
Implements

Methods

Create(PosixSignal, Action<PosixSignalContext>)

Registers a handler that is invoked when the signal occurs.

Dispose()

Unregisters the handler.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize()

Unregisters the handler.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

Product Versions
.NET 6, 7, 8, 9