System.Runtime.Remoting.Contexts.Context.SetProperty Method

Sets a specific context property by name.

Syntax

public virtual void SetProperty (IContextProperty prop)

Parameters

prop
The actual context property.

Remarks

Adding properties to the default context is not allowed.

Requirements

Namespace: System.Runtime.Remoting.Contexts
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0