Download full document:

ApplicationImportConfiguration.SynchronizationContext Property

A SynchronizationContext used to control the thread on which notifications are raised.

Namespace: Citrix.SDK.AppDNA
Assembly: Citrix.SDK.AppDNA (in Citrix.SDK.AppDNA.dll) Version: (



public SynchronizationContext SynchronizationContext { get; set; }


Public Property SynchronizationContext As SynchronizationContext

Property Value

Type: SynchronizationContext


Importing utilizes multiple background worker threads. The Importer object and its ProcessingState objects raise notification events which the user can subscribe to. In order to allow the user to control which thread the user event handling code should be called on, this function accepts a SynchronizationContext. By default SynchronizationContext.Current at the time this class is constructed will be used. Note that SynchronizationContext.Current may still be null, in which case there is no guarantee over which thread the event handlers will be run on. If this value is not null, then the caller must ensure that the specified synchronization context is processing events in order to receive events. See for more information.

See Also


ApplicationImportConfiguration Class
Citrix.SDK.AppDNA Namespace