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