In Configuration Manager, the ExitCode property contains the exit code for asynchronous task sequence media creation.
[IDL] HRESULT ExitCode([out,retval] long* Result);
- Data type: longQualifiers: [out, retval]Pointer to the exit code.
An HRESULT code. Possible values include, but are not limited to, the following value.
- The method succeeded.
The task sequence media creation methods, for example, ITsMediaClass::CreateBootMedia Method, use this property to get the correct return value when the ITsMediaClass::Status Property property is set to 0.
Send comments about this topic to Microsoft.