Delen via


CorpubPublish Coclass

Provides interfaces for publishing information about application domains and processes.

coclass CorpubPublish {
    [default] interface ICorPublish;
    interface           ICorPublishProcess;
    interface           ICorPublishAppDomain;
    interface           ICorPublishProcessEnum;
    interface           ICorPublishAppDomainEnum;
};

Interfaces

Interface

Description

ICorPublish Interface

Provides methods for publishing information about processes and the application domains in those processes.

ICorPublishAppDomain Interface

Represents, and provides information about, an application domain in a process.

ICorPublishAppDomainEnum Interface

Provides methods that traverse a collection of application domains that currently exist within a process.

ICorPublishProcess Interface

Represents a process that is running on a computer.

ICorPublishProcessEnum Interface

Provides methods that traverse a collection of processes that are running on a computer.

Remarks

A typical publishing scenario involves a developer who wants to debug managed code that is running on a computer within an application domain. The hosting environment may be running more than one application domain within a process. The developer would like to use a graphical user interface or some other means to list all of the processes that are running on the computer, and pick a specific process. The listing should include all of the application domains within processes that are running managed code. The developer can then identify the specific application domain and attach a debugger to that domain.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorPub.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Other Resources

Debugging (Unmanaged API Reference)