Show / Hide Table of Contents

Constructor DefaultChallengeHandler

DefaultChallengeHandler()

Initializes a new instance of the DefaultChallengeHandler class using the application context.

Declaration
public DefaultChallengeHandler()

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0200.6 - 200.8
.NET200.6 - 300.0
.NET Windows100.14 - 300.0
.NET Android200.2 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.14 - 200.8
Xamarin.Android100.14
Xamarin.iOS100.14 - 100.15
UWP100.0 - 200.8

DefaultChallengeHandler(Application)

Initializes a new instance of the DefaultChallengeHandler class for the specified application.

Declaration
public DefaultChallengeHandler(Application application)
Parameters
Type Name Description
Application application

The application.

Exceptions
Type Condition
ArgumentNullException

application is null.

Applies to

Platforms and versions
TargetVersions
.NET Android200.2 - 300.0
Xamarin.Android100.14

DefaultChallengeHandler(Activity)

Initializes a new instance of the DefaultChallengeHandler class for the specified activity.

Declaration
public DefaultChallengeHandler(Activity activity)
Parameters
Type Name Description
Activity activity

The application activity, which is used to display credential request dialogs.

Exceptions
Type Condition
ArgumentNullException

activity is null.

Applies to

Platforms and versions
TargetVersions
.NET Android200.2 - 300.0
Xamarin.Android100.14
In this article
Provide feedback
Back to top Copyright © 2025 Esri.