FrameworkProfileHttpClient.SetPublicAliasAsync Method
Namespace: Microsoft.VisualStudio.Services.Profile
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function SetPublicAliasAsync ( _
id As Guid, _
value As String, _
userState As Object _
) As Task(Of Integer)
public virtual Task<int> SetPublicAliasAsync(
Guid id,
string value,
Object userState
)
public:
virtual Task<int>^ SetPublicAliasAsync(
Guid id,
String^ value,
Object^ userState
)
abstract SetPublicAliasAsync :
id:Guid *
value:string *
userState:Object -> Task<int>
override SetPublicAliasAsync :
id:Guid *
value:string *
userState:Object -> Task<int>
public function SetPublicAliasAsync(
id : Guid,
value : String,
userState : Object
) : Task<int>
Parameters
- id
Type: System.Guid
- value
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.