ContextUtil.GetNamedProperty Method (String)

 
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.

Returns a named property from the COM+ context.

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

public static object GetNamedProperty(
	string name
)

Parameters

name
Type: System.String

The name of the requested property.

Return Value

Type: System.Object

The named property for the context.

Exception Condition
COMException

There is no COM+ context available.

PlatformNotSupportedException

The platform is not Windows 2000 or later.

This is useful for obtaining the Internet Information Services (IIS) intrinsic objects provided by Active Server Pages (ASP).

.NET Framework
Available since 1.1
Return to top
Show: