共用方式為


ProfileHttpClientBase.SetAttributesAsync 方法

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

語法

'宣告
Protected Function SetAttributesAsync ( _
    applicationAttributes As IList(Of ProfileAttribute), _
    coreAttributes As IList(Of CoreProfileAttribute), _
    id As String, _
    userState As Object _
) As Task(Of Integer)
protected Task<int> SetAttributesAsync(
    IList<ProfileAttribute> applicationAttributes,
    IList<CoreProfileAttribute> coreAttributes,
    string id,
    Object userState
)

參數

傳回值

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

.NET Framework 安全性

請參閱

參考

ProfileHttpClientBase 類別

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