Context.DefaultContext Property

Definition

Gets the default context for the current application domain.

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

public:
 static property System::Runtime::Remoting::Contexts::Context ^ DefaultContext { System::Runtime::Remoting::Contexts::Context ^ get(); };
[get: System.Security.SecurityCritical]
public static System.Runtime.Remoting.Contexts.Context DefaultContext { get; }
member this.DefaultContext : System.Runtime.Remoting.Contexts.Context
Public Shared ReadOnly Property DefaultContext As Context

Property Value

The default context for the AppDomain namespace.

Attributes

Remarks

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

Applies to