FrameworkProfileHttpClient.GetProfileAsync Method (Guid, ProfileQueryContext, Object)
Namespace: Microsoft.VisualStudio.Services.Profile
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function GetProfileAsync ( _
id As Guid, _
queryContext As ProfileQueryContext, _
userState As Object _
) As Task(Of Profile)
public virtual Task<Profile> GetProfileAsync(
Guid id,
ProfileQueryContext queryContext,
Object userState
)
public:
virtual Task<Profile^>^ GetProfileAsync(
Guid id,
ProfileQueryContext^ queryContext,
Object^ userState
)
abstract GetProfileAsync :
id:Guid *
queryContext:ProfileQueryContext *
userState:Object -> Task<Profile>
override GetProfileAsync :
id:Guid *
queryContext:ProfileQueryContext *
userState:Object -> Task<Profile>
public function GetProfileAsync(
id : Guid,
queryContext : ProfileQueryContext,
userState : Object
) : Task<Profile>
Parameters
- id
Type: System.Guid
- queryContext
Type: Microsoft.VisualStudio.Services.Profile.ProfileQueryContext
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<Profile>
.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.