ProfileHttpClient.GetAvatarAsync Method (Avatar, Object)
Namespace: Microsoft.VisualStudio.Services.Profile.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Overridable Function GetAvatarAsync ( _
currentCopy As Avatar, _
userState As Object _
) As Task(Of Avatar)
public virtual Task<Avatar> GetAvatarAsync(
Avatar currentCopy,
Object userState
)
public:
virtual Task<Avatar^>^ GetAvatarAsync(
Avatar^ currentCopy,
Object^ userState
)
abstract GetAvatarAsync :
currentCopy:Avatar *
userState:Object -> Task<Avatar>
override GetAvatarAsync :
currentCopy:Avatar *
userState:Object -> Task<Avatar>
public function GetAvatarAsync(
currentCopy : Avatar,
userState : Object
) : Task<Avatar>
Parameters
- currentCopy
Type: Microsoft.VisualStudio.Services.Profile.Avatar
- 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.