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