Table of Contents

Method Post

Namespace
SodaFlow.Bindable.ObjectModel
Assembly
SodaFlow.Core.Bindable.ObjectModel.dll

Post(Action)

Posts through the captured context.

public void Post(Action action)

Parameters

action Action

The action to run on the binding thread.

Remarks

This method always posts and never sends, also when the caller is on the binding thread. A run on the calling thread breaks the contract on Post(Action) for a caller in a transaction, and SodaFlow calls these handlers in one. A post also prevents the deadlock that the contract describes, because Post(SendOrPostCallback, object) returns and does not wait.

Exceptions

ArgumentNullException

action is null.