Редагувати

Поділитися через


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(); };
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