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