Delen via


ProfileHttpClientBase.GetLatestTermsofServiceAsync Method

Namespace:  Microsoft.VisualStudio.Services.Profile.Client
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Protected Overridable Function GetLatestTermsofServiceAsync ( _
    userState As Object _
) As Task(Of ProfileTermsOfService)
protected virtual Task<ProfileTermsOfService> GetLatestTermsofServiceAsync(
    Object userState
)
protected:
virtual Task<ProfileTermsOfService^>^ GetLatestTermsofServiceAsync(
    Object^ userState
)
abstract GetLatestTermsofServiceAsync : 
        userState:Object -> Task<ProfileTermsOfService> 
override GetLatestTermsofServiceAsync : 
        userState:Object -> Task<ProfileTermsOfService> 
protected function GetLatestTermsofServiceAsync(
    userState : Object
) : Task<ProfileTermsOfService>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ProfileHttpClientBase Class

Microsoft.VisualStudio.Services.Profile.Client Namespace