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 - 200.8
.NET Windows100.14 - 200.8
.NET Android200.2 - 200.8
.NET iOS200.0 - 200.8
.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
Android.App.Application application

The application.

Exceptions
Type Condition
System.ArgumentNullException

application is null.

Applies to

Platforms and versions
TargetVersions
.NET Android200.2 - 200.8
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
Android.App.Activity activity

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

Exceptions
Type Condition
System.ArgumentNullException

activity is null.

Applies to

Platforms and versions
TargetVersions
.NET Android200.2 - 200.8
Xamarin.Android100.14
In This Article
Back to top Copyright © 2022 Esri.