Context.DefaultContext Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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(); };
public static System.Runtime.Remoting.Contexts.Context DefaultContext { get; }
public static System.Runtime.Remoting.Contexts.Context DefaultContext { [System.Security.SecurityCritical] get; }
static member DefaultContext : System.Runtime.Remoting.Contexts.Context
[<get: System.Security.SecurityCritical>]
static member 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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.