ProfileHttpClientBase.GetAcceptedTermsOfServiceAsync 方法

命名空间:  Microsoft.VisualStudio.Services.Profile.Client
程序集:  Microsoft.VisualStudio.Services.WebApi(在 Microsoft.VisualStudio.Services.WebApi.dll 中)

语法

声明
Protected Overridable Function GetAcceptedTermsOfServiceAsync ( _
    userState As Object, _
    id As String _
) As Task(Of UserTermsOfService)
protected virtual Task<UserTermsOfService> GetAcceptedTermsOfServiceAsync(
    Object userState,
    string id
)

参数

返回值

类型:System.Threading.Tasks.Task<UserTermsOfService>

.NET Framework 安全性

请参阅

参考

ProfileHttpClientBase 类

Microsoft.VisualStudio.Services.Profile.Client 命名空间