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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- redirectUri
Type: System.Uri
- title
Type: System.String
- description
Type: System.String
- webSite
Type: System.Uri
- organization
Type: System.String
- organizationUri
Type: System.Uri
Return Value
Type: Microsoft.TeamFoundation.Framework.Server.OAuthApplication
The registered application
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.