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