ProfileHttpClientBase.CreateProfileAsync Method
Namespace: Microsoft.VisualStudio.Services.Profile.Client
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Protected Function CreateProfileAsync ( _
createProfileContext As CreateProfileContext, _
userState As Object _
) As Task(Of Profile)
protected Task<Profile> CreateProfileAsync(
CreateProfileContext createProfileContext,
Object userState
)
protected:
Task<Profile^>^ CreateProfileAsync(
CreateProfileContext^ createProfileContext,
Object^ userState
)
member CreateProfileAsync :
createProfileContext:CreateProfileContext *
userState:Object -> Task<Profile>
protected function CreateProfileAsync(
createProfileContext : CreateProfileContext,
userState : Object
) : Task<Profile>
Parameters
- createProfileContext
Type: Microsoft.VisualStudio.Services.Profile.CreateProfileContext
- 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.