共用方式為


ProfileHttpClientBase.GetAcceptedTermsOfServiceAsync Method

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

Syntax

'Declaration
Protected Overridable Function GetAcceptedTermsOfServiceAsync ( _
    userState As Object, _
    id As String _
) As Task(Of UserTermsOfService)
protected virtual Task<UserTermsOfService> GetAcceptedTermsOfServiceAsync(
    Object userState,
    string id
)
protected:
virtual Task<UserTermsOfService^>^ GetAcceptedTermsOfServiceAsync(
    Object^ userState, 
    String^ id
)
abstract GetAcceptedTermsOfServiceAsync : 
        userState:Object * 
        id:string -> Task<UserTermsOfService> 
override GetAcceptedTermsOfServiceAsync : 
        userState:Object * 
        id:string -> Task<UserTermsOfService> 
protected function GetAcceptedTermsOfServiceAsync(
    userState : Object, 
    id : String
) : Task<UserTermsOfService>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ProfileHttpClientBase Class

Microsoft.VisualStudio.Services.Profile.Client Namespace