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