Condividi tramite


TeamFoundationOAuthService.RegisterApplication Method

Register an application that has the given properties

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function RegisterApplication ( _
    requestContext As TeamFoundationRequestContext, _
    redirectUri As Uri, _
    title As String, _
    description As String, _
    webSite As Uri, _
    organization As String, _
    organizationUri As Uri _
) As OAuthApplication
public OAuthApplication RegisterApplication(
    TeamFoundationRequestContext requestContext,
    Uri redirectUri,
    string title,
    string description,
    Uri webSite,
    string organization,
    Uri organizationUri
)
public:
OAuthApplication^ RegisterApplication(
    TeamFoundationRequestContext^ requestContext, 
    Uri^ redirectUri, 
    String^ title, 
    String^ description, 
    Uri^ webSite, 
    String^ organization, 
    Uri^ organizationUri
)
member RegisterApplication : 
        requestContext:TeamFoundationRequestContext * 
        redirectUri:Uri * 
        title:string * 
        description:string * 
        webSite:Uri * 
        organization:string * 
        organizationUri:Uri -> OAuthApplication
public function RegisterApplication(
    requestContext : TeamFoundationRequestContext, 
    redirectUri : Uri, 
    title : String, 
    description : String, 
    webSite : Uri, 
    organization : String, 
    organizationUri : Uri
) : OAuthApplication

Parameters

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.OAuthApplication
The registered application

.NET Framework Security

See Also

Reference

TeamFoundationOAuthService Class

Microsoft.TeamFoundation.Framework.Server Namespace