IMtsInstanceEvents::OnObjectCreate

Indicates that an object has been created.

HRESULT OnCreateInstance(
LONGLONG        perfCount,
REFGUID            guidActivity,
REFCLSID        clsid,
REFGUID            tsid,
MTS_OBJID        ObjectID);

Parameters

perfCount
The current value of the high-resolution performance counter, if one exists.

guidActivity
The GUID associated with the activity which created the object.

clsid
The CLSID of the object.

tsid
A unique identifier associated with the object's transaction context.

ObjectID
A unique number, within the scope of the server process, associated with the object.