In Configuration Manager, the ExitCode property contains the exit code for asynchronous task sequence media creation.

[IDL]
HRESULT ExitCode([out,retval] long* Result);

Parameters

Result


Data type: longQualifiers: [out, retval]Pointer to the exit code.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following value.

S_OK


The method succeeded.

Remarks

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.

See Also


Send comments about this topic to Microsoft.