Constructor DefaultChallengeHandler
DefaultChallengeHandler()
Initializes a new instance of the DefaultChallengeHandler class using the application context.
Declaration
public DefaultChallengeHandler()
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 200.6 - 200.8 |
| .NET | 200.6 - 200.8 |
| .NET Windows | 100.14 - 200.8 |
| .NET Android | 200.2 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.14 - 200.8 |
| Xamarin.Android | 100.14 |
| Xamarin.iOS | 100.14 - 100.15 |
| UWP | 100.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 |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Android | 200.2 - 200.8 |
| Xamarin.Android | 100.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 |
|
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Android | 200.2 - 200.8 |
| Xamarin.Android | 100.14 |