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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.