Share via


ConnectedService Class

This class has all the "public" information but also the secret data.

It *does not* serialize the secret values, those are fetched from the client on demand.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Client.ConnectedService

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

Syntax

'Declaration
Public NotInheritable Class ConnectedService
public sealed class ConnectedService
public ref class ConnectedService sealed
[<Sealed>]
type ConnectedService =  class end
public final class ConnectedService

The ConnectedService type exposes the following members.

Properties

  Name Description
Public property CredentialsXml Credentials in an xml format for connecting to this service.
Public property Endpoint A URI specific to this service.
Public property OAuthToken The OAuth token of the user who created the connected servcie.
Public property ServiceMetadata The service metadata which includes the name (ID), friendly name, description, kind, TeamProject and ProjectId

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString (Overrides Object.ToString().)

Top

Thread Safety

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

See Also

Reference

Microsoft.TeamFoundation.Framework.Client Namespace