ContextUtil::ActivityId Property
.NET Framework (current version)
Gets a GUID representing the activity containing the component.
Assembly: System.EnterpriseServices (in System.EnterpriseServices.dll)
Property Value
Type: System::GuidThe GUID for an activity if the current context is part of an activity; otherwise, GUID_NULL.
| Exception | Condition |
|---|---|
| COMException | There is no COM+ context available. |
| PlatformNotSupportedException | The platform is not Windows 2000 or later. |
The following code example gets the value of a ActivityId property.
.NET Framework
Available since 1.1
Available since 1.1
Show: