ThreadOption Enumeration

Specifies on which thread a CompositePresentationEvent<TPayload> subscriber will be called.

Namespace:  Microsoft.Practices.Prism.Events
Assembly:  Microsoft.Practices.Prism (in Microsoft.Practices.Prism.dll)

Syntax

public enum ThreadOption
'Declaration
Public Enumeration ThreadOption

Members

Member name Value Description
PublisherThread 0 The call is done on the same thread on which the CompositePresentationEvent<TPayload> was published.
UIThread 1 The call is done on the UI thread.
BackgroundThread 2 The call is done asynchronously on a background thread.

See Also

Microsoft.Practices.Prism.Events Namespace