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 | |
---|---|---|
CredentialsXml | Credentials in an xml format for connecting to this service. | |
Endpoint | A URI specific to this service. | |
OAuthToken | The OAuth token of the user who created the connected servcie. | |
ServiceMetadata | The service metadata which includes the name (ID), friendly name, description, kind, TeamProject and ProjectId |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.