Partage via


WebProcessInformation.ProcessName Propriété

Définition

Obtient le nom du processus.

public:
 property System::String ^ ProcessName { System::String ^ get(); };
public string ProcessName { get; }
member this.ProcessName : string
Public ReadOnly Property ProcessName As String

Valeur de propriété

String

Nom du processus.

Exemples

L’exemple suivant montre comment obtenir le nom du processus.

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

Remarques

Il s’agit du nom du processus worker qui héberge ASP.NET.

S’applique à