Redigera

Dela via


HostingEnvironment.IsHosted Property

Definition

Gets a value indicating whether the current application domain is being hosted by an ApplicationManager object.

public:
 static property bool IsHosted { bool get(); };
public static bool IsHosted { get; }
static member IsHosted : bool
Public Shared ReadOnly Property IsHosted As Boolean

Property Value

true if the application domain is hosted by an ApplicationManager object; otherwise, false.

Applies to