共用方式為


FrameworkProfileHttpClient.GetLatestTermsofServiceAsync Method

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

FrameworkProfileHttpClient Class

Microsoft.VisualStudio.Services.Profile Namespace