ArcGIS Runtime SDK for WPF - Library Reference
GetServiceInfoTaskAsync(CancellationToken) Method
See Also 
ESRI.ArcGIS.Client.Printing Namespace > PrintTask Class > GetServiceInfoTaskAsync Method : GetServiceInfoTaskAsync(CancellationToken) Method

cancellationToken
The cancellation token for cancelling task.
Gets the print service information PrintServiceInfo

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetServiceInfoTaskAsync( _
   ByVal cancellationToken As CancellationToken _
) As Task(Of PrintServiceInfo)
C# 
public Task<PrintServiceInfo> GetServiceInfoTaskAsync( 
   CancellationToken cancellationToken
)

Parameters

cancellationToken
The cancellation token for cancelling task.

Return Value

a Task object with PrintServiceInfo upon successful completion. Otherwise, the Task.Exception is set.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.