Context::DefaultContext Property

 

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:
property Context^ DefaultContext {
	[SecurityCriticalAttribute]
	static Context^ get();
}

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
Show: