Represents an OS import as it progresses.
public class OSImport : IDisposable
Public Class OSImport Implements IDisposable
The OSImport type exposes the following members.
|IsFinished||Returns true if the import has finished. The return value of this does not indicate success, error or cancellation, simply whether or not the task is complete.|
|LogFilePath||Returns the full path to the text log file that holds the log of the import.|
|OSImage||Returns the OSImage object resulting from the import.|
|ProcessingState||Returns the ProcessingState object that represents the state of the import.|
|Dispose||Halts the import and releases resources. Failure to dispose of this object may leak resources.|
|Equals||Determines whether the specified object is equal to the current object. (Inherited from Object.)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Serves as a hash function for a particular type. (Inherited from Object.)|
|GetType||Gets the Type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|RequestCancel||Requests that the current import should abort. Cancellation may not happen immediately, and the task may still fail or complete successfully after cancellation is requested.|
|ToString||Returns a string that represents the current object. (Inherited from Object.)|
Returns when IsFinished is |
Returns true if IsFinished is |
|Finished||This event is raised when IsFinished becomes true. If IsFinished is true when this is subscribed to, it is fired immediately.|
|ImportStateChanged||This event is raised when the ProcessingState object has changed.|
An OS Import object is obtained by calling one of the OSImageService.Import function overloads. It drives the import, providing status information and access to the completed import.