WebProcessInformation.ProcessName Eigenschap
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee haalt u de naam van het proces op.
public:
property System::String ^ ProcessName { System::String ^ get(); };
public string ProcessName { get; }
member this.ProcessName : string
Public ReadOnly Property ProcessName As String
Waarde van eigenschap
De naam van het proces.
Voorbeelden
In het volgende voorbeeld ziet u hoe u de procesnaam ophaalt.
public string GetProcessName()
{
// Get the requests in execution.
return (string.Format(
"Process name: {0}",
ProcessInformation.ProcessName));
}
Public Function GetProcessName() As String
' Get the requests in execution.
Return String.Format("Process name: {0}", _
ProcessInformation.ProcessName)
End Function 'GetProcessName
Opmerkingen
Dit is de naam van het werkproces dat als host fungeert voor ASP.NET.