VssCredentials Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Common.VssCredentials
    Microsoft.VisualStudio.Services.Client.VssClientCredentials

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.dll)

Syntax

'Declaration
Public Class VssCredentials
public class VssCredentials
public ref class VssCredentials
type VssCredentials =  class end
public class VssCredentials

The VssCredentials type exposes the following members.

Constructors

  Name Description
Public method VssCredentials()
Public method VssCredentials(Boolean)
Public method VssCredentials(FederatedCredential)
Public method VssCredentials(WindowsCredential)
Public method VssCredentials(WindowsCredential, CredentialPromptType)
Public method VssCredentials(WindowsCredential, FederatedCredential)
Public method VssCredentials(WindowsCredential, FederatedCredential, CredentialPromptType)
Public method VssCredentials(WindowsCredential, FederatedCredential, CredentialPromptType, TaskScheduler)
Public method VssCredentials(WindowsCredential, FederatedCredential, CredentialPromptType, TaskScheduler, IVssCredentialPrompt)

Top

Properties

  Name Description
Public property Federated
Public property PromptType
Public property Storage
Public property Windows

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public methodStatic member LoadCachedCredentials(Uri, Boolean, CredentialPromptType)
Public methodStatic member LoadCachedCredentials(String, Uri, Boolean, CredentialPromptType)
Public methodStatic member LoadCachedCredentials(String, Uri, Boolean, CredentialPromptType, String, Boolean)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Operators

  Name Description
Public operatorStatic member Implicit(FederatedCredential to VssCredentials)
Public operatorStatic member Implicit(WindowsCredential to VssCredentials)

Top

Fields

  Name Description
Protected field m_federatedCredential
Protected field m_windowsCredential

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.VisualStudio.Services.Common Namespace