ContextUtil.IsDefaultContext Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether the serviced component is activated in the default context. Serviced components that do not have COM+ catalog information are activated in the default context.

Namespace:   System.EnterpriseServices
Assembly:  System.EnterpriseServices (in System.EnterpriseServices.dll)

public static bool IsDefaultContext()

Return Value

Type: System.Boolean

true if the serviced component is activated in the default context; otherwise, false.

.NET Framework
Available since 2.0
Return to top
Show: