TfsConnection.ApplicationName, propriété
Obtient ou définit le nom d'une application qui effectue une demande sur le serveur.
Espace de noms : Microsoft.TeamFoundation.Client
Assembly : Microsoft.TeamFoundation.Client (dans Microsoft.TeamFoundation.Client.dll)
Syntaxe
'Déclaration
Public Shared Property ApplicationName As String
public static string ApplicationName { get; set; }
Valeur de propriété
Type : System.String
Retourne String.
Notes
Setting this property is optional. By default, this property will be set. Therefore, it has to be set only for applications that are hosted in another process, such as a Web application such as w3wp.exe. The application name must not use any characters that cannot be used in HTTP request headers. The following is an example of the default setting: "Team Foundation (devenv.exe, 9.0.20418.0)"
Example of the default setting: "Team Foundation (devenv.exe, 9.0.20418.0)"
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.