C# Class Rebus.Bus.Advanced.AsyncHelpers.CustomSynchronizationContext

Synchronization context that can be "pumped" in order to have it execute continuations posted back to it
Inheritance: System.Threading.SynchronizationContext
Afficher le fichier Open project: rebus-org/Rebus

Méthodes publiques

Méthode Description
CreateCopy ( ) : SynchronizationContext
CustomSynchronizationContext ( Func task ) : System
Post ( SendOrPostCallback function, object state ) : void
Run ( ) : void

Enqueues the function to be executed and executes all resulting continuations until it is completely done

Send ( SendOrPostCallback d, object state ) : void

Method Details

CreateCopy() public méthode

public CreateCopy ( ) : SynchronizationContext
Résultat System.Threading.SynchronizationContext

CustomSynchronizationContext() public méthode

public CustomSynchronizationContext ( Func task ) : System
task Func
Résultat System

Post() public méthode

public Post ( SendOrPostCallback function, object state ) : void
function SendOrPostCallback
state object
Résultat void

Run() public méthode

Enqueues the function to be executed and executes all resulting continuations until it is completely done
public Run ( ) : void
Résultat void

Send() public méthode

public Send ( SendOrPostCallback d, object state ) : void
d SendOrPostCallback
state object
Résultat void