Mono Class Library: Mono.Unix.UnixSignal Overview | Members

Mono.Unix.UnixSignal.Reset Method

Clears the UnixSignal.Count property; the return value specifies whether or not UnixSignal.Count was not equal to 0 before it was cleared.

public bool Reset ()

Returns

A bool specifying whether or not the UnixSignal.Count property was not equal to 0 before it was cleared. If true is returned, UnixSignal.Count was not 0; if false is returned, UnixSignal.Count was 0.

Exceptions

TypeReason
ObjectDisposedException The current instance has already been disposed.

Remarks

This method atomically checks and clears the UnixSignal.Count property, and should be preferred over manually checking and clearing the UnixSignal.Count property.

Requirements

Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0