共用方式為


ProfileHttpClientBase.GetProfileAsync 方法

命名空間:  Microsoft.VisualStudio.Services.Profile.Client
組件:  Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)

語法

'宣告
Protected Overridable Function GetProfileAsync ( _
    profileQueryContext As ProfileQueryContext, _
    id As String, _
    userState As Object _
) As Task(Of Profile)
protected virtual Task<Profile> GetProfileAsync(
    ProfileQueryContext profileQueryContext,
    string id,
    Object userState
)

參數

傳回值

類型:System.Threading.Tasks.Task<Profile>

.NET Framework 安全性

請參閱

參考

ProfileHttpClientBase 類別

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