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 Windows | 100.14 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.14 - 200.5 |
Xamarin.Android | 100.14 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.0 - 200.5 |
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.5 |
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.5 |
Xamarin.Android | 100.14 |