Share via


TeamFoundationOAuthService.GetApplication, méthode

Récupérer une application enregistrée avec le clientId donné.

Espace de noms :  Microsoft.TeamFoundation.Framework.Server
Assembly :  Microsoft.TeamFoundation.Framework.Server (dans Microsoft.TeamFoundation.Framework.Server.dll)

Syntaxe

'Déclaration
Public Function GetApplication ( _
    requestContext As TeamFoundationRequestContext, _
    clientId As String, _
    throwIfNotFound As Boolean _
) As OAuthApplication
public OAuthApplication GetApplication(
    TeamFoundationRequestContext requestContext,
    string clientId,
    bool throwIfNotFound
)

Paramètres

  • clientId
    Type : System.String
    Le clientId pour application de récupérer.
  • throwIfNotFound
    Type : System.Boolean
    Jet OAuthApplicationNotFoundException si l'application est introuvable.

Valeur de retour

Type : Microsoft.TeamFoundation.Framework.Server.OAuthApplication
L'application correspondante

Sécurité .NET Framework

Voir aussi

Référence

TeamFoundationOAuthService Classe

Microsoft.TeamFoundation.Framework.Server, espace de noms