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