ProfileHttpClientBase.SetAttributeAsync Method
Namespace: Microsoft.VisualStudio.Services.Profile.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Protected Overridable Function SetAttributeAsync ( _
attribute As ProfileAttribute, _
id As String, _
userState As Object _
) As Task(Of Integer)
protected virtual Task<int> SetAttributeAsync(
ProfileAttribute attribute,
string id,
Object userState
)
protected:
virtual Task<int>^ SetAttributeAsync(
ProfileAttribute^ attribute,
String^ id,
Object^ userState
)
abstract SetAttributeAsync :
attribute:ProfileAttribute *
id:string *
userState:Object -> Task<int>
override SetAttributeAsync :
attribute:ProfileAttribute *
id:string *
userState:Object -> Task<int>
protected function SetAttributeAsync(
attribute : ProfileAttribute,
id : String,
userState : Object
) : Task<int>
Parameters
- attribute
Type: Microsoft.VisualStudio.Services.Profile.ProfileAttribute
- id
Type: System.String
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<Int32>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.