ProfileHttpClient.GetEmailAddressAsync Method
Namespace: Microsoft.VisualStudio.Services.Profile.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Overridable Function GetEmailAddressAsync ( _
userState As Object _
) As Task(Of String)
public virtual Task<string> GetEmailAddressAsync(
Object userState
)
public:
virtual Task<String^>^ GetEmailAddressAsync(
Object^ userState
)
abstract GetEmailAddressAsync :
userState:Object -> Task<string>
override GetEmailAddressAsync :
userState:Object -> Task<string>
public function GetEmailAddressAsync(
userState : Object
) : Task<String>
Parameters
- userState
Type: System.Object
Return Value
Type: System.Threading.Tasks.Task<String>
.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.