ProfileHttpClientBase.SetPropertyAsync Method
Namespace: Microsoft.VisualStudio.Services.Profile.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Protected Overridable Function SetPropertyAsync ( _
type As ProfileHttpClientBase.ProfilePropertyType, _
value As String, _
id As String, _
userState As Object _
) As Task(Of Integer)
protected virtual Task<int> SetPropertyAsync(
ProfileHttpClientBase.ProfilePropertyType type,
string value,
string id,
Object userState
)
protected:
virtual Task<int>^ SetPropertyAsync(
ProfileHttpClientBase::ProfilePropertyType type,
String^ value,
String^ id,
Object^ userState
)
abstract SetPropertyAsync :
type:ProfileHttpClientBase.ProfilePropertyType *
value:string *
id:string *
userState:Object -> Task<int>
override SetPropertyAsync :
type:ProfileHttpClientBase.ProfilePropertyType *
value:string *
id:string *
userState:Object -> Task<int>
protected function SetPropertyAsync(
type : ProfileHttpClientBase.ProfilePropertyType,
value : String,
id : String,
userState : Object
) : Task<int>
Parameters
- value
Type: System.String
- 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.