This documentation is archived and is not being maintained.

ConnectedService Class

Visual Studio 2013

This class has all the "public" information but also the secret data as well. It *does not* serialize the secret values, those are fetched from the client on demand.

System.Object
  Microsoft.TeamFoundation.Server.Core.ConnectedService

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

'Declaration
<ClassVisibilityAttribute(ClientVisibility.Public, ClientVisibility.Private)> _
<RequiredClientServiceAttribute("TeamFoundationStrongBoxService", "StrongBox")> _
Public Class ConnectedService

The ConnectedService type exposes the following members.

  NameDescription
Public methodConnectedServiceConstructor for a ConnectedService
Top

  NameDescription
Public propertyCredentialsXmlInfoCredentials in an xml format for connecting to this service contained in a StrongBoxItemInfo.
Public propertyEndpointInfoThe URI specific to this service contained in a StrongBoxItemInfo.
Public propertyOAuthTokenInfoThe OAuth token of the user who created the connected servcie.
Public propertyServiceMetadataThe service metadata which includes the name (ID), friendly name, description, kind, TeamProject and ProjectId
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetCredentialsXmlCredentials in an xml format for connecting to this service.
Public methodGetEndpointThe URI specific to this service.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetOAuthTokenThe OAuth token of the user who created the connected servcie.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: