| Visual Basic (Declaration) | |
|---|---|
Public Overloads Function GetServiceInfoTaskAsync() As Task(Of PrintServiceInfo) | |
| C# | |
|---|---|
public Task<PrintServiceInfo> GetServiceInfoTaskAsync() | |
Return Value
a Task object with PrintServiceInfo upon successful completion. Otherwise, the Task.Exception is set.Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8