WebProcessStatistics.AppDomainCount 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 number of application domains in the process.
public:
property int AppDomainCount { int get(); };
public int AppDomainCount { get; }
member this.AppDomainCount : int
Public ReadOnly Property AppDomainCount As Integer
Property Value
The number of application domains.
Examples
The following code example shows how to get the AppDomainCount value.
public string GetAppDomainCount()
{
// Get the app domain count.
return (string.Format(
"Application domain count: {0}",
processStatistics.AppDomainCount.ToString()));
}
Public Function GetAppDomainCount() As String
' Get the app domain count.
Return String.Format( _
"Application domain count: {0}", _
processStatistics.AppDomainCount.ToString())
End Function 'GetAppDomainCount
Remarks
This property usually refers to the number of ASP.NET applications in the process, including the default domain.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για