Table of Contents

Enum ObserverFlags

Namespace
Tmds.DBus.Protocol
Assembly
Tmds.DBus.Protocol.dll

Flags for Connection.AddMatchAsync that the message observer behavior.

[Flags]
public enum ObserverFlags

Fields

EmitOnConnectionDispose = 1

Emit a completion exception when the connection is disposed.

Use IsConnectionDisposed(Exception) to check for this exception.

EmitOnDispose = EmitOnConnectionDispose | EmitOnObserverDispose

Emit a completion exception when either the connection or observer is disposed.

Use IsDisposed(Exception) to check for this exception.

EmitOnObserverDispose = 2

Emit a completion exception when the observer is disposed.

Use IsObserverDisposed(Exception) to check for this exception.

NoSubscribe = 4

Do not subscribe to the signal on the bus.

None = 0

No flags are set.