Delen via


FrameworkProfileHttpClient.GetAcceptedTermsOfServiceAsync Method (Guid, Object)

Namespace:  Microsoft.VisualStudio.Services.Profile
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Overridable Function GetAcceptedTermsOfServiceAsync ( _
    id As Guid, _
    userState As Object _
) As Task(Of UserTermsOfService)
public virtual Task<UserTermsOfService> GetAcceptedTermsOfServiceAsync(
    Guid id,
    Object userState
)
public:
virtual Task<UserTermsOfService^>^ GetAcceptedTermsOfServiceAsync(
    Guid id, 
    Object^ userState
)
abstract GetAcceptedTermsOfServiceAsync : 
        id:Guid * 
        userState:Object -> Task<UserTermsOfService> 
override GetAcceptedTermsOfServiceAsync : 
        id:Guid * 
        userState:Object -> Task<UserTermsOfService> 
public function GetAcceptedTermsOfServiceAsync(
    id : Guid, 
    userState : Object
) : Task<UserTermsOfService>

Parameters

Return Value

Type: System.Threading.Tasks.Task<UserTermsOfService>

.NET Framework Security

See Also

Reference

FrameworkProfileHttpClient Class

GetAcceptedTermsOfServiceAsync Overload

Microsoft.VisualStudio.Services.Profile Namespace