BindingErrors class¶
Defined in
Namespace: ReactiveUI.Binding.Reactive
Assembly: ReactiveUI.Binding.Reactive.dll
Full name: ReactiveUI.Binding.Reactive.BindingErrors
Modifiers: public static
Summary¶
How a binding reacts when the sequence feeding its write faults.
Applies to
net10.0, net10.0-browserwasm1.0, net10.0-desktop1.0, net9.0, net9.0-tvos18.0, net9.0-maccatalyst18.0, net9.0-ios18.0, net9.0-macos15.0, net9.0-desktop1.0, net8.0, net8.0-macos14.5, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0, net8.0-ios17.5, net8.0-maccatalyst17.5, netstandard2.1, net481, net462, net471
Remarks¶
A write that faults is not the consumer's own call stack: it arrives on whatever thread raised the change
notification, so an unobserved fault there is lost rather than surfaced. The binding therefore records every
fault, and rethrows the ones that carry an inner exception so a genuine failure inside a property setter is
not swallowed. The two cases differ because a fault with no inner exception is the sequence itself ending in
error, which the subscriber can already observe, while an inner exception is a setter that threw.
Methods¶
| Name | Summary |
|---|---|
| static Subscribe | Subscribes a binding's write to its source, applying the binding fault contract. |