Context.DefaultContext Property


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

This API supports the product infrastructure and is not intended to be used directly from your code.

Gets the default context for the current application domain.

Namespace:   System.Runtime.Remoting.Contexts
Assembly:  mscorlib (in mscorlib.dll)

public static Context DefaultContext {

Property Value

Type: System.Runtime.Remoting.Contexts.Context

The default context for the AppDomain namespace.

Every thread in an application domain for which a context is not explicitly set is considered to be running in the default context.

.NET Framework
Available since 1.1
Return to top