Click or drag to resize

JobTCredential Property

Gets or sets the security credential used to access the web service that provides the job's functionality

Namespace:  Esri.ArcGISRuntime.Tasks
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.9.0.0
Syntax
C#
public Credential Credential { get; set; }

Property Value

Type: Credential
Exceptions
ExceptionCondition
NotSupportedException
Remarks
Setting this property overrides any credentials set in the AuthenticationManager associated with this service. Setting this property is not supported for jobs that may access multiple domains such as GenerateOfflineMapJob and OfflineMapSyncJob. Instead, provide the necessary Credential on-demand using ChallengeHandler or set credentials up-front for known domains using AddCredential(Credential).
See Also