Creates a catalog for the Windows image represented by an instance of OfflineImageInfo. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim offlineImageInfo1 As OfflineImageInfo
offlineImageInfo1.CreateCatalog()

Syntax

Visual Basic
Public Sub CreateCatalog()
C#
public void CreateCatalog();
C++
public:
void CreateCatalog();
J#
public void CreateCatalog();
JScript
public function CreateCatalog() : Void;

Remarks

If you are creating a catalog, you must first validate the Windows image by using ValidateImage. After the Windows image is validated, run CreateCatalog to create the catalog.

You must be logged on as an administrator of the local machine to call this method. On Windows Vista, the process that invokes this method must also be run at elevated privilege.

InvalidOperationException is thrown if the current user is not an administrator of the local machine.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also

[an error occurred while processing this directive]