ContextUtil.SetNamedProperty(String, Object) Method

Definition

Sets the named property for the COM+ context.

C#
public static void SetNamedProperty(string name, object value);

Parameters

name
String

The name of the property to set.

value
Object

Object that represents the property value to set.

Exceptions

There is no COM+ context available.

Remarks

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

Applies to

Proizvod Verzije
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also