Imports an OSImage that was generated by the Snapshot Manager tool that comes with AppDNA.
Assembly: Citrix.SDK.AppDNA (in Citrix.SDK.AppDNA.dll) Version: 126.96.36.199 (188.8.131.52)
public OSImport ImportInBackground( ImportOSSourceDetails importDetails, string outputFolder, SynchronizationContext synchronizationContext )
Public Function ImportInBackground ( importDetails As ImportOSSourceDetails, outputFolder As String, synchronizationContext As SynchronizationContext ) As OSImport
- Type: Citrix.SDK.AppDNA.ImportOSSourceDetails
The source of the import, with attendant details.
- Type: System.String
The full path of the folder that contains any files generated during the import.
- Type: System.Threading.SynchronizationContext
A SynchronizationContext used to control the thread on which notifications are raised. See the remarks for more details.
Importing utilizes multiple background worker threads. The Import object raises 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. If null is specified, then Current will be used. Note that Current may still be null, in which case there is no guarantee over which thread the event handlers will be run on. If a non-null value is passed or Current is not null, then the caller must ensure that the specified synchronization context is processing events in order to have the event handlers called. See http://msdn.microsoft.com/en-us/library/system.threading.synchronizationcontext.aspx for more information.